RosettaCodeData/Task/Hello-world-Text/LC3-Assembly/hello-world-text-1.lc3

7 lines
140 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
.orig x3000
LEA R0, hello ; R0 = &hello
TRAP x22 ; PUTS (print char array at addr in R0)
HALT
hello .stringz "Hello World!"
.end