Files
CBE/examples/asm-demo.cpu/program.hex
T
2026-06-04 03:22:17 +00:00

9 lines
323 B
Plaintext

; Example hex machine code for TinyCPU
; Prints "CPU!" to the GPU display via port 0xC0
02 43 0A C0 ; MOV_IMM_A 'C', STORE_A 0xC0
02 50 0A C0 ; MOV_IMM_A 'P', STORE_A 0xC0
02 55 0A C0 ; MOV_IMM_A 'U', STORE_A 0xC0
02 21 0A C0 ; MOV_IMM_A '!', STORE_A 0xC0
02 0A 0A C0 ; MOV_IMM_A '\n', STORE_A 0xC0
FF ; HLT