vc6/asm.vc6asm
2026-11-05 04:34:09 +01:00

42 lines
2.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[0000] mov r1, 0x56
[0002] store [0xfb00], r1
[0004] mov r1, 0x43
[0006] store [0xfb01], r1
[0008] mov r1, 0x36
[000a] store [0xfb02], r1
[000c] mov r0, 0x200
[000e] mov r1, 0x1
[0010] xor fl, fl
[0011] adc ip, 0xe
[0013] store [0xff12], r1
[0015] store [0xff13], r0
[0017] mov r2, 0x2
[0019] store [0xff11], r2
[001b] xor fl, fl
[001c] adc r0, 0x200
[001e] xor fl, fl
[001f] adc r1, 0x1
[0021] mov r2, ip
[0022] xor fl, fl
[0023] adc r2, 0xfff1
[0025] xor fl, fl
[0026] cmp r1, 0x4
[0028] and fl, 0x2
[002a] cmov ip, r2
[002b] mov r0, 0x32
[002d] store [0xff02], r0
[002f] mov r1, 0x0
[0031] hlt
[0032] load r0, [0xff01]
[0034] xor fl, fl
[0035] adc r0, 0x5d
[0037] mov r2, 0xfb28
[0039] xor fl, fl
[003a] adc r2, r1
[003b] store [r2], r0
[003c] xor fl, fl
[003d] adc r1, 0x1
[003f] hlt
[0040] xor fl, fl
[0041] adc ip, 0xfffc