New answers tagged

3

If you want to print a string (terminated with a NUL (000)) suggest the following: string: .asciz "the quick brown ..." mov #1000,sp ; init stack mov #string,R0 ; pass string as argument jsr pc,Print ; to Print function ... Print:mov r1,-(sp) ; save R1 br 20$ ; jump to NUL test 10$: ...


Top 50 recent answers are included