Difference between revisions of "Talk:Z80 Instruction Set"

From WikiTI
Jump to: navigation, search
Line 1: Line 1:
 
We could probably just use one of the publically available instruction set lists to save the time and trouble of typing everything out again.
 
We could probably just use one of the publically available instruction set lists to save the time and trouble of typing everything out again.
 
--Dan 00:28, 22 Dec 2005
 
--Dan 00:28, 22 Dec 2005
 +
 +
:Emacs.
 +
:Anyway, what you've got so far is not particularly clear, and doesn't really present the important information.  I'm thinking of a series of tables something like this:
 +
 +
{| border="1" cellpadding="2"
 +
! Oct !! Hex !! Instruction !! States !! Clock !! S !! Z !! X !! H !! Y !! P !! N !! C
 +
|-
 +
| 100 || 40 || ld b, b || OCF(4) || 4 || - || - || - || - || - || - || - || -
 +
|-
 +
| 101 || 41 || ld b, c || OCF(4) || 4 || - || - || - || - || - || - || - || -
 +
|-
 +
| 102 || 42 || ld b, d || OCF(4) || 4 || - || - || - || - || - || - || - || -
 +
|-
 +
| 103 || 43 || ld b, e || OCF(4) || 4 || - || - || - || - || - || - || - || -
 +
|}
 +
 +
:A quick reference for people who actually know what they're doing.  For those who don't, these tables should of course be accompanied by detailed descriptions of what the various opcodes actually do.
 +
:Any comments before I go and waste a few hours wikifying the rest of the Z80 instruction set?
 +
:Please don't use parentheses for anything other than indirection!
 +
:[[User:FloppusMaximus|FloppusMaximus]] 12:28, 23 Dec 2005 (PST)

Revision as of 13:28, 23 December 2005

We could probably just use one of the publically available instruction set lists to save the time and trouble of typing everything out again. --Dan 00:28, 22 Dec 2005

Emacs.
Anyway, what you've got so far is not particularly clear, and doesn't really present the important information. I'm thinking of a series of tables something like this:
Oct Hex Instruction States Clock S Z X H Y P N C
100 40 ld b, b OCF(4) 4 - - - - - - - -
101 41 ld b, c OCF(4) 4 - - - - - - - -
102 42 ld b, d OCF(4) 4 - - - - - - - -
103 43 ld b, e OCF(4) 4 - - - - - - - -
A quick reference for people who actually know what they're doing. For those who don't, these tables should of course be accompanied by detailed descriptions of what the various opcodes actually do.
Any comments before I go and waste a few hours wikifying the rest of the Z80 instruction set?
Please don't use parentheses for anything other than indirection!
FloppusMaximus 12:28, 23 Dec 2005 (PST)