NoRAL Hello World listing and output
# just store all the ascii values in screen memory sto 0100 48 sto 0101 65 sto 0102 6c sto 0103 6c sto 0104 6f sto 0105 2c sto 0106 20 sto 0107 57 sto 0108 6f sto 0109 72 sto 010a 6c sto 010b 64 sto 010c 21 # brk is not really necessary unless the next memory location is not zero brk Output: Program Counter: 0234 Zero Flag: 00 Carry Flag: 00 Stack Pointer: 00 +---------Screen Display---------+ |Hello, World! | | | | | | | | | | | | | | | +--------------------------------+
Comments