Optimize boilerplate

This commit is contained in:
Gabriel Tofvesson 2019-04-30 18:19:56 +02:00
parent a2420be4c8
commit 37f1afe452

View File

@ -53,12 +53,11 @@
// Set all GR-registers to -1, so that we always can call "sub gr" to increment // Set all GR-registers to -1, so that we always can call "sub gr" to increment
// AR, no matter what value we have in IR ;) // AR, no matter what value we have in IR ;)
const 0x100 const 0xB00 // GRx=10, M=11
mov ar ir lsr; mov ar ir
reset gr lsr; reset gr
reset grm lsr; reset grm
const 0xB00 mov ar ir // GRx=00, M=01
mov ar ir
reset gr reset gr
reset grm reset grm