This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's
z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.
Z80 & 68k Assembly =>
z80 & ez80 Assembly
Author |
Message |
|
WikiGuru ADOS (Attention deficit... Oh! Shiny!)
Elite
Joined: 15 Sep 2005 Posts: 923
|
Posted: 31 Jan 2009 06:07:38 pm Post subject: |
|
|
I figured I'd compile all the z80 instructions into a spreadsheet, making optimizing a little easier (hopefully).
Notes:
r means register. Can be A,B,C,D,E,H,L.
Add this to last byte of OP-code:
Reg regbits
A 7
B 0
C 1
D 2
E 3
H 4
L 5
On >LD (IX+N),r< and >LD (IY+N),r< you
add it to the byte before the last.
b means bit. Can be 0-7. Increase the last byte of OP-code with 8*b. Used in SET, BIT and RES.
The T-States has two columns, one for the high value and the other for the low value (note: if the instruction runs at the same speed all the time, both columns are the same). If the instruction jumps somewhere, the high value is the T-States after the jump, and the low value is before the jump.
I'm uploading it in OpenCalc's spreadsheet format, as OpenCalc should work with any OS.
Sources:
Learn z80 in 28 days, http://www.z80.info/
Last edited by Guest on 31 Jan 2009 06:09:43 pm; edited 1 time in total |
|
Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page