3Byte2Jump
Jump to navigation
Jump to search
A B C D E
do
A* - B* = C* if C* = D then jump E else jump PC + 1
X* in code means just X does not address X
| byte | what do |
|---|---|
| A | NEGATE B |
| B | INPUT (A* - in) |
| C | OUTPUT (A*) (B will do nothing) |
| D | UNCONDITION |
| E | HALT |
A + B problem
0 -1 21 -1 6 0 -1 22 -1 11 -1 21 21 -1 16 21 22 -1 -1 -1 0 0
truth machine (sorry wrong code)
16 -1 16 1 11 48* 0 -1 -1 -1 49* 0 -1 -1 11 49
like ByteByteIfJump but has more control