add syntax highlighting

This commit is contained in:
sfja 2026-11-05 04:56:26 +01:00
parent d94071e653
commit f2c9efe2b2

View File

@ -15,6 +15,9 @@
@const DISK_BLOCK_ID 0xff12
@const DISK_ADDR 0xff13
@const DISK_CONTROL_DIRECTION 1 << 0
@const DISK_CONTROL_START 1 << 1
start:
mov r1, 'V'
store [VCD_BEGIN], r1
@ -30,7 +33,7 @@ start:
.l0_body:
store [DISK_BLOCK_ID], r1
store [DISK_ADDR], r0
mov r2, 0b10
mov r2, DISK_CONTROL_START
store [DISK_CONTROL], r2
xor fl, fl
adc r0, 512