Changes

Jump to: navigation, search

Z80

1,260 bytes removed, 07:50, 7 May 2008
/* Opcodes */
|RET NC||11/5||1||D0||If Carry = 0
|-
|RET M ||11/5|| 1 | |F8 | |If Sign = 1 (negative)|
|-
|RET P ||11/5|| 1 | |F0 | |If Sign = 0 (positive)|
|-
|RET Z ||11/5|| 1 | |C8 | |If Zero = 1 (ans.=0) |
|-
|RET NZ ||11/5|| 1 | |C0 | |If Zero = 0 (non-zero)|
|-
|RET PE ||11/5|| 1 | |E8 | |If Parity = 1 (even) |
|-
|RET PO ||11/5|| 1 | |E0 | |If Parity = 0 (odd) ||} {|{{Prettytable|width: 700px; font-size: 2em;}}|''Mnemonic''||''Clock''||''Size''||''SZHPNC''||''Opcode''||''Description||''Notes''
|-
|PUSH AFRET||1110||1||rowspan=4|------||F5C9||rowspan=4Return|Push||rowspanPC=4|(SP)=qq|+
|-
|PUSH BCRET C||11/5||1||C5rowspan=8|------||D8||rowspan=8|Conditional Return||If Carry = 1
|-
|PUSH DERET NC||11/5||1||D5D0||If Carry = 0|-|RET M||11/5||1||F8||If Sign = 1 (negative)|-|RET P||11/5||1||F0||If Sign = 0 (positive)|-|RET Z||11/5||1||C8||If Zero = 1 (ans.=0)|-|RET NZ||11/5||1||C0||If Zero = 0 (non-zero)|-|RET PE||11/5||1||E8||If Parity = 1 (even)|-|RET PO||11/5||1||E0||If Parity = 0 (odd)|-|RETI||14||2||------||ED 4D||Return from Interrupt||PC=(SP)+|-|RETN||14||2||------||ED 45||Return from NMI||PC=(SP)+
|-
|PUSH HL||11||1||E5
|}
 
 
 
 
 
 
 
+-------------+----+---+------+------------+---------------------+----------------------+
 
+-------------+----+---+------+------------+---------------------+----------------------+
|RET | 10 | 1 |------|C9 |Return |PC=(SP)+ |
|RET C |11/5| 1 |------|D8 |Conditional Return |If Carry = 1 |
|RET NC |11/5| 1 | |D0 | |If Carry = 0 |
|RET M |11/5| 1 | |F8 | |If Sign = 1 (negative)|
|RET P |11/5| 1 | |F0 | |If Sign = 0 (positive)|
|RET Z |11/5| 1 | |C8 | |If Zero = 1 (ans.=0) |
|RET NZ |11/5| 1 | |C0 | |If Zero = 0 (non-zero)|
|RET PE |11/5| 1 | |E8 | |If Parity = 1 (even) |
|RET PO |11/5| 1 | |E0 | |If Parity = 0 (odd) |
+-------------+----+---+------+------------+---------------------+----------------------+
|RETI | 14 | 2 |------|ED 4D |Return from Interrupt|PC=(SP)+ |
|RETN | 14 | 2 |------|ED 45 |Return from NMI |PC=(SP)+ |
+-------------+----+---+------+------------+---------------------+----------------------+
|RLA | 4 | 1 |--0-0*|17 |Rotate Left Acc. |A={CY,A}<- |
12,273
edits