You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
227 B

.global _start
_start:
; write (hello world)
ldi32 #14,r6
ldi32 #0x2c,r5 ; #hello,r5
ldi32 #1,r4
ldi32 #5,r0
int #10
; exit (0)
ldi32 #0,r4
ldi32 #1,r0
int #10
length: .long 14
hello: .ascii "Hello World!\r\n"