Could I also suggest supporting optional arguments in an instruction?
For example, I have an instruction where 1 bit decides wether or not to invert a register value.
At the moment I can have an argument to specify wether or not to invert, but It's kinda awkward how I have to say when I DON'T want it inverted too.
e.g. I'd like to be able to define an instruction that could take such combinations:
ld r1 r2
ld r1 ! r2
ld r1 r2 !
ld r1 ! r2 !
Another suggestion would be to allow the counting of address lines and a little bit of macro, so you could do this:
ld r1 r2
#loopstart
add r1
jmp $loopstart
For example, I have an instruction where 1 bit decides wether or not to invert a register value.
At the moment I can have an argument to specify wether or not to invert, but It's kinda awkward how I have to say when I DON'T want it inverted too.
e.g. I'd like to be able to define an instruction that could take such combinations:
ld r1 r2
ld r1 ! r2
ld r1 r2 !
ld r1 ! r2 !
Another suggestion would be to allow the counting of address lines and a little bit of macro, so you could do this:
ld r1 r2
#loopstart
add r1
jmp $loopstart