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

7 lines
140 B
Plaintext

.orig x3000
LEA R0, hello ; R0 = &hello
TRAP x22 ; PUTS (print char array at addr in R0)
HALT
hello .stringz "Hello World!"
.end