mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-27 06:29:16 +00:00
e5ac21f0f9
Reliable technical documentation for how these instructions are decoded is a little thin on the ground online, so some of this implementation is still speculative.
108 lines
1.8 KiB
Plaintext
108 lines
1.8 KiB
Plaintext
.text
|
|
.org $0800
|
|
early:
|
|
bbs0 $42, +
|
|
jmp late
|
|
* bbs1 $42, +
|
|
jmp late
|
|
* bbs2 $42, +
|
|
jmp late
|
|
* bbs3 $42, +
|
|
jmp late
|
|
* bbs4 $42, +
|
|
jmp late
|
|
* bbs5 $42, +
|
|
jmp late
|
|
* bbs6 $42, +
|
|
jmp late
|
|
* bbs7 $42, +
|
|
jmp late
|
|
* jmp late
|
|
* bbr0 $42, +
|
|
jmp late
|
|
* bbr1 $42, +
|
|
jmp late
|
|
* bbr2 $42, +
|
|
jmp late
|
|
* bbr3 $42, +
|
|
jmp late
|
|
* bbr4 $42, +
|
|
jmp late
|
|
* bbr5 $42, +
|
|
jmp late
|
|
* bbr6 $42, +
|
|
jmp late
|
|
* bbr7 $42, +
|
|
jmp late
|
|
* bbr0 $42, early
|
|
bbr1 $42, early
|
|
bbr2 $42, early
|
|
bbr3 $42, early
|
|
bbr4 $42, early
|
|
bbr5 $42, early
|
|
bbr6 $42, early
|
|
bbr7 $42, early
|
|
bra early
|
|
early2:
|
|
bbs0 $42, early2
|
|
bbs1 $42, early2
|
|
bbs2 $42, early2
|
|
bbs3 $42, early2
|
|
bbs4 $42, early2
|
|
bbs5 $42, early2
|
|
bbs6 $42, early2
|
|
bbs7 $42, early2
|
|
.advance ^+256
|
|
late:
|
|
bbr0 $42, late
|
|
bbr1 $42, late
|
|
bbr2 $42, late
|
|
bbr3 $42, late
|
|
bbr4 $42, late
|
|
bbr5 $42, late
|
|
bbr6 $42, late
|
|
bbr7 $42, late
|
|
bra late
|
|
bbs0 $42, late
|
|
bbs1 $42, late
|
|
bbs2 $42, late
|
|
bbs3 $42, late
|
|
bbs4 $42, late
|
|
bbs5 $42, late
|
|
bbs6 $42, late
|
|
bbs7 $42, late
|
|
bbs0 $42, +
|
|
jmp early
|
|
* bbs1 $42, +
|
|
jmp early
|
|
* bbs2 $42, +
|
|
jmp early
|
|
* bbs3 $42, +
|
|
jmp early
|
|
* bbs4 $42, +
|
|
jmp early
|
|
* bbs5 $42, +
|
|
jmp early
|
|
* bbs6 $42, +
|
|
jmp early
|
|
* bbs7 $42, +
|
|
jmp early
|
|
* jmp early
|
|
bbr0 $42, +
|
|
jmp early
|
|
* bbr1 $42, +
|
|
jmp early
|
|
* bbr2 $42, +
|
|
jmp early
|
|
* bbr3 $42, +
|
|
jmp early
|
|
* bbr4 $42, +
|
|
jmp early
|
|
* bbr5 $42, +
|
|
jmp early
|
|
* bbr6 $42, +
|
|
jmp early
|
|
* bbr7 $42, +
|
|
jmp early
|
|
*
|