bf17 icon

NoRAL Hello World listing and output

bf17 | PRO | 09/05/17 11:11:18 PM UTC | 0 ⭐ | 299 👁️ | Never ⏰ | []
text |

750 B

|

None

|

0 👍

/

0 👎

# 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