Author Topic: Question About tasm80.tab...  (Read 2892 times)

0 Members and 1 Guest are viewing this topic.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
Question About tasm80.tab...
« on: July 11, 2007, 08:47:00 pm »
Hey all, I'm having some trouble figuring out what all of the entries in the tasm80.tab file are for (not the instructions, the layout itself). For example,  at the top of the file, it says "INSTR ARGS OP BYTES RULE CLASS SHIFT OR" as the layout of the instruction entries. What I would like to know is what the RULES mean (NOP, ZIX, R1, and ZBIT), the CLASS, SHIFT, and the OR.

Could anyone explain these to me?

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Question About tasm80.tab...
« Reply #1 on: July 12, 2007, 06:36:00 am »
http://www.ticalc.org/archives/files/fileinfo/250/25051.html

When you download the file, take a look at "TASMTABS.HTM". It will describe everything you need to build a table file.

----
As far as rules go, the highlights are as follows:
R1 : Make the arg relative to PC (single byte)
ZBIT: Z80 Bit instructions
ZIDX: (also denoted as ZIX), Z80 Indexed instructions (i.e. ADC A,(IX+x) )
NOTOUCH or NOP : Do nothing to instruction or args
----
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
Question About tasm80.tab...
« Reply #2 on: July 12, 2007, 09:53:00 am »
Many thanks Iambian :)smile.gif That's exactly what I needed!