John,
It's the "XS1 Assembly Language Manual" (xas99.pdf), chapter 8. There's one notation in upper case and one in lower case. I use the latter one, refer to the second coloumn "Mnemonic" and "Operands".
It's all well documented, but I know, there's so much to read at the beginning :)
asm for getts
Sometimes it can be helpful to get a dump from the compiler and see what it does. This can be done using the following command:
So for getts you would get:
Just ignore the stuff in the parenthesis (it is the instruction description, i.e. it has 2 register operands)
Code: Select all
xobjdump -d $(TARGET) > $(TARGET).dump
Code: Select all
getts (2r) r7, res[r0]
Paul
On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.