Search results

From Learn @ Cemetech
Jump to navigationJump to search

Page title matches

  • Repeats the instruction [[Z80:Opcodes:LDD|LDD]] (Does a LD (DE),(HL) and decrements each of DE, HL, and BC) until [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]]
    822 bytes (129 words) - 22:05, 5 February 2016
  • ...Can be conditional or unconditional. JR takes up one less byte than [[Z80:Opcodes:JP|JP]], but is also slower. Weigh the needs of the code at the time before ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JP|JP]]
    1 KB (229 words) - 18:31, 19 March 2017
  • [[Z80:Opcodes:HALT|HALT]] [[Category:Z80 Assembly]]
    616 bytes (92 words) - 22:10, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    1 KB (162 words) - 22:33, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    647 bytes (95 words) - 22:21, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (204 words) - 22:39, 5 February 2016
  • ...[Z80:Opcodes:OR|OR]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    956 bytes (153 words) - 22:06, 5 February 2016
  • ...you want to load a 16-bit register into another 16-bit register (the [[Z80:Opcodes:LD|LD]] instruction won't work for this). [[Z80:Opcodes:POP|POP]]
    891 bytes (132 words) - 01:53, 14 March 2017
  • Repeats [[Z80:Opcodes:LDI|LDI]] (LD (DE),(HL), then increments DE, HL, and decrements BC) until B [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]]
    789 bytes (118 words) - 22:10, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (199 words) - 22:33, 5 February 2016
  • ...decide whether speed or size is more important before choosing JP or [[Z80:Opcodes:JR|JR]]. JP (HL), JP (IX), and JP (IY) are unconditional and are the fastes ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JR|JR]]
    2 KB (292 words) - 21:57, 5 February 2016
  • Repeats [[Z80:Opcodes:CPI|CPI]] until either: Note if you used [[Z80:Opcodes:CPDR|CPDR]] it would find the last occurrence of 124 in the valid memory sp
    1 KB (181 words) - 22:21, 5 February 2016
  • # [[Z80:Opcodes:CP|CP]] (HL) # [[Z80:Opcodes:DEC|DEC]] HL
    936 bytes (151 words) - 22:42, 5 February 2016
  • ...you want to load a 16-bit register into another 16-bit register (the [[Z80:Opcodes:LD|LD]] instruction won't work for this). [[Z80:Opcodes:PUSH|PUSH]]
    983 bytes (150 words) - 22:06, 5 February 2016
  • Like [[Z80:Opcodes:SRA|SRA]], except a 0 is put into bit 7. The bits are all shifted right, wi ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]]
    1 KB (183 words) - 22:28, 5 February 2016
  • [[Z80:Opcodes:SCF|SCF]] [[Category:Z80 Assembly]]
    578 bytes (86 words) - 22:11, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (208 words) - 22:33, 5 February 2016
  • Repeats [[Z80:Opcodes:CPD|CPD]] until either: Note if you used [[Z80:Opcodes:CPIR|CPIR]] it would find the first occurrence of 124 in the valid memory s
    1 KB (181 words) - 21:59, 5 February 2016
  • ...pcodes:OTIR|OTIR]],[[Z80:Opcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    864 bytes (137 words) - 22:21, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    853 bytes (136 words) - 22:42, 5 February 2016
  • ...[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]],[[Z80:Opcodes:RET|RET]] [[Category:Z80 Assembly]]
    1 KB (226 words) - 22:06, 5 February 2016
  • ...t use of AND is in bit-masking. For more information on bit-masking, see [[Z80:Flags and Bit-Level Instructions|here]]. ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]]
    1 KB (193 words) - 07:50, 6 February 2016
  • Like [[Z80:Opcodes:RLD|RLD]], except rotation is rightward. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    756 bytes (118 words) - 22:15, 5 February 2016
  • Performs [[Z80:Opcodes:RLC|RLC A]] much quicker, and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    859 bytes (136 words) - 22:36, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    831 bytes (134 words) - 22:00, 5 February 2016
  • Here is a page for instructions that you can use in a z80 processor. Click on the instruction to gain more information about the spec * [[Z80:Opcodes:ADC|ADC]]
    2 KB (309 words) - 22:21, 5 February 2016
  • Performs an [[Z80:Opcodes:RL|RL A]], but is much faster and S, Z, and P/V flags are preserved. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    901 bytes (150 words) - 22:42, 5 February 2016
  • ...be set to interrupt mode 1 (OS interrupts) or interrupt mode 2 using [[Z80:Opcodes:IM|IM]]. Be sure to re-enable interrupt mode 1 before returning to the OS. ...:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]]
    542 bytes (76 words) - 22:07, 5 February 2016
  • Performs a [[Z80:Opcodes:RRC|RRC A]] faster and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    899 bytes (144 words) - 22:29, 5 February 2016
  • Not used by TI calculators, but means that an external device plugged into a z80 device generates the interrupt. ...and 150). Every time an interrupt is encountered, the OS performs an [[Z80:Opcodes:RST|RST]] $28.
    2 KB (248 words) - 22:15, 5 February 2016
  • ...[Z80:Opcodes:OR|OR]],[[Z80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    899 bytes (142 words) - 22:37, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    1,013 bytes (146 words) - 22:00, 5 February 2016
  • ...[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]],[[Z80:Opcodes:RET|RET]] [[Category:Z80 Assembly]]
    2 KB (249 words) - 22:22, 5 February 2016
  • ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    1 KB (211 words) - 22:43, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    850 bytes (132 words) - 22:07, 5 February 2016
  • [[Z80:Opcodes:CPL|CPL]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    677 bytes (97 words) - 22:30, 5 February 2016
  • ...pcodes:OTIR|OTIR]],[[Z80:Opcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    866 bytes (137 words) - 22:16, 5 February 2016
  • Performs a [[Z80:Opcodes:RR|RR A]] faster, and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    900 bytes (144 words) - 22:37, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (193 words) - 22:00, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (195 words) - 22:22, 5 February 2016
  • [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDIR|LDIR]] [[Category:Z80 Assembly]]
    656 bytes (101 words) - 22:43, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    841 bytes (131 words) - 22:08, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (189 words) - 22:30, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (185 words) - 22:16, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (221 words) - 22:37, 5 February 2016
  • ...:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]] Source: [http://www.zilog.com/manage_directlink.php?filepath=docs/z80/um0080&extn=.pdf]
    4 KB (533 words) - 08:25, 6 February 2016
  • ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (171 words) - 22:12, 10 March 2017
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    845 bytes (131 words) - 22:08, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]] [[Category:Z80 Assembly]]
    1,019 bytes (155 words) - 22:31, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    851 bytes (132 words) - 22:16, 5 February 2016
  • ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    1 KB (224 words) - 22:37, 5 February 2016
  • [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]] [[Category:Z80 Assembly]]
    724 bytes (119 words) - 22:05, 5 February 2016
  • [[Z80:Opcodes:CCF|CCF]] [[Category:Z80 Assembly]]
    513 bytes (75 words) - 22:22, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (202 words) - 22:08, 5 February 2016
  • ...:Opcodes:HALT|HALT]],[[Z80:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    849 bytes (132 words) - 22:31, 5 February 2016
  • [[Z80:Opcodes:EXX|EXX]] [[Category:Z80 Assembly]]
    1 KB (176 words) - 22:16, 5 February 2016
  • # [[Z80:Opcodes:CP|CP]] (HL) # [[Z80:Opcodes:INC|INC]] HL
    968 bytes (154 words) - 22:38, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (257 words) - 22:05, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (190 words) - 22:24, 5 February 2016
  • An "undocumented" instruction. Functions like [[Z80:Opcodes:SLA|SLA]], except a 1 is inserted into the low bit. r denotes 8-bit register. IX and IY values assumed from [[Z80:Opcodes:SLA|SLA]]. Needs confirmation.
    1 KB (167 words) - 22:09, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    1 KB (205 words) - 22:32, 5 February 2016
  • ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (177 words) - 22:28, 10 March 2017
  • [[Z80:Opcodes:NEG|NEG]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    669 bytes (106 words) - 22:38, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    650 bytes (94 words) - 22:05, 5 February 2016
  • ...:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    595 bytes (87 words) - 22:24, 5 February 2016
  • Used in bit-masking. For more information see [[Z80:Flags and Bit-Level Instructions|here]]. ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]]
    1 KB (183 words) - 07:50, 6 February 2016
  • DJNZ is a very useful instruction when it comes to creating loops. See [[Z80:Control Structures|Control Structures]] to find out more about loops. [[Z80:Opcodes:CALL|CALL]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]]
    830 bytes (127 words) - 08:00, 6 February 2016
  • ...8-bit input and compares it with the accumulator. XOR is similar to [[Z80:Opcodes:OR|Or]], except for one thing: only 1 of the 2 test bits can be set or else ...t to invert sprites and such. It is also very useful in bit-masking. See [[Z80:Flags and Bit-Level Instructions|here]] for more information about bit-mask
    1 KB (218 words) - 07:50, 6 February 2016
  • [[Z80:Opcodes:DI|DI]],[[Z80:Opcodes:EI|EI]],[[Z80:Opcodes:NOP|NOP]] [[Category:Z80 Assembly]]
    901 bytes (144 words) - 22:39, 5 February 2016

Page text matches

  • ...inc c]] || [[Z80:Opcodes:DEC|dec c]] || [[Z80:Opcodes:LD|ld c,x]] || [[Z80:Opcodes:RRCA|rrca]] ...inc e]] || [[Z80:Opcodes:DEC|dec e]] || [[Z80:Opcodes:LD|ld e,x]] || [[Z80:Opcodes:RRA|rra]]
    19 KB (3,362 words) - 08:19, 6 February 2016
  • Here is a page for instructions that you can use in a z80 processor. Click on the instruction to gain more information about the spec * [[Z80:Opcodes:ADC|ADC]]
    2 KB (309 words) - 22:21, 5 February 2016
  • ...ber in [[Z80:Control Structures|Control Structures]] how we used the [[Z80:Opcodes:CP|CP]] instruction? This instruction subtracts the operand from the accumu ...lags in some way or another. For a list of system flags you can use, see [[Z80:System Flags|here]].
    12 KB (2,030 words) - 08:02, 6 February 2016
  • '''[[z80:Tutorials|Tutorials]]''' '''[[z80:Appendices|Appendices]]'''
    4 KB (510 words) - 08:18, 6 February 2016
  • ...ports. For a list of ports and the corresponding hardware item, see this [[Z80:Ports|page]]. ...NIR|INIR]], [[Z80:Opcodes:OTIR|OTIR]], [[Z80:Opcodes:INDR|INDR]], or [[Z80:Opcodes:OTDR|OTDR]].
    17 KB (2,951 words) - 08:25, 6 February 2016
  • * Iambian's [http://iambianet.freewebpage.org/t/asm06.html Some (z80) Assembly Required Controlling Flow] ...real world. So, we need to apply this idea of conditions into programming. Z80 has 2 uses conditions:
    10 KB (1,600 words) - 07:57, 6 February 2016
  • === [[Z80:Buffer Tables|Buffer Tables]] === === [[Z80:Character Maps|Character Maps]] ===
    2 KB (212 words) - 07:40, 6 February 2016
  • An "undocumented" instruction. Functions like [[Z80:Opcodes:SLA|SLA]], except a 1 is inserted into the low bit. r denotes 8-bit register. IX and IY values assumed from [[Z80:Opcodes:SLA|SLA]]. Needs confirmation.
    1 KB (167 words) - 22:09, 5 February 2016
  • ...pts: hardware and software. Software interrupts are triggered by the [[Z80:Opcodes:RST|RST]] command, and won't be discussed in this tutorial. Examples of har * [[Z80:Grey Scale|grayscale]]
    7 KB (1,090 words) - 06:16, 5 February 2016
  • Like [[Z80:Opcodes:RLD|RLD]], except rotation is rightward. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    756 bytes (118 words) - 22:15, 5 February 2016
  • Like [[Z80:Opcodes:SRA|SRA]], except a 0 is put into bit 7. The bits are all shifted right, wi ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]]
    1 KB (183 words) - 22:28, 5 February 2016
  • Performs a [[Z80:Opcodes:RRC|RRC A]] faster and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    899 bytes (144 words) - 22:29, 5 February 2016
  • Performs [[Z80:Opcodes:RLC|RLC A]] much quicker, and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    859 bytes (136 words) - 22:36, 5 February 2016
  • Performs a [[Z80:Opcodes:RR|RR A]] faster, and modifies the flags differently. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    900 bytes (144 words) - 22:37, 5 February 2016
  • Performs an [[Z80:Opcodes:RL|RL A]], but is much faster and S, Z, and P/V flags are preserved. ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]]
    901 bytes (150 words) - 22:42, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (199 words) - 22:33, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (208 words) - 22:33, 5 February 2016
  • ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    1 KB (224 words) - 22:37, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (202 words) - 22:08, 5 February 2016
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (185 words) - 22:16, 5 February 2016
  • ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (177 words) - 22:28, 10 March 2017
  • ...pcodes:RRD|RRD]],[[Z80:Opcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (171 words) - 22:12, 10 March 2017
  • ...pcodes:SLA|SLA]],[[Z80:Opcodes:SLL|SLL/SL1]],[[Z80:Opcodes:SRA|SRA]],[[Z80:Opcodes:SRL|SRL]] [[Category:Z80 Assembly]]
    1 KB (190 words) - 22:24, 5 February 2016
  • # [[Z80:Opcodes:CP|CP]] (HL) # [[Z80:Opcodes:INC|INC]] HL
    968 bytes (154 words) - 22:38, 5 February 2016
  • # [[Z80:Opcodes:CP|CP]] (HL) # [[Z80:Opcodes:DEC|DEC]] HL
    936 bytes (151 words) - 22:42, 5 February 2016
  • ...decide whether speed or size is more important before choosing JP or [[Z80:Opcodes:JR|JR]]. JP (HL), JP (IX), and JP (IY) are unconditional and are the fastes ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JR|JR]]
    2 KB (292 words) - 21:57, 5 February 2016
  • Repeats [[Z80:Opcodes:CPD|CPD]] until either: Note if you used [[Z80:Opcodes:CPIR|CPIR]] it would find the first occurrence of 124 in the valid memory s
    1 KB (181 words) - 21:59, 5 February 2016
  • Repeats [[Z80:Opcodes:CPI|CPI]] until either: Note if you used [[Z80:Opcodes:CPDR|CPDR]] it would find the last occurrence of 124 in the valid memory sp
    1 KB (181 words) - 22:21, 5 February 2016
  • ...[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]],[[Z80:Opcodes:RET|RET]] [[Category:Z80 Assembly]]
    2 KB (249 words) - 22:22, 5 February 2016
  • ...Can be conditional or unconditional. JR takes up one less byte than [[Z80:Opcodes:JP|JP]], but is also slower. Weigh the needs of the code at the time before ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:DJNZ|DJNZ]],[[Z80:Opcodes:JP|JP]]
    1 KB (229 words) - 18:31, 19 March 2017
  • ...8-bit input and compares it with the accumulator. XOR is similar to [[Z80:Opcodes:OR|Or]], except for one thing: only 1 of the 2 test bits can be set or else ...t to invert sprites and such. It is also very useful in bit-masking. See [[Z80:Flags and Bit-Level Instructions|here]] for more information about bit-mask
    1 KB (218 words) - 07:50, 6 February 2016
  • ...all we can do is multiply a number by powers of 2! Or is it? Remember, the z80 processor (in fact, all modern computers) are binary based. And also, the s ...odes:SLA|SLL]] will put a 1 into the 0th bit, as opposed to a 0 from [[Z80:Opcodes:SLA|SLA]].
    6 KB (974 words) - 20:58, 3 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    1 KB (162 words) - 22:33, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    853 bytes (136 words) - 22:42, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    831 bytes (134 words) - 22:00, 5 February 2016
  • ...pcodes:CPI|CPI]],[[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    1 KB (211 words) - 22:43, 5 February 2016
  • ...[Z80:Opcodes:CPIR|CPIR]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]],[[Z80:Opcodes:RET|RET]] [[Category:Z80 Assembly]]
    1 KB (226 words) - 22:06, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    850 bytes (132 words) - 22:07, 5 February 2016
  • ...pcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    841 bytes (131 words) - 22:08, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    845 bytes (131 words) - 22:08, 5 February 2016
  • ...pcodes:OTIR|OTIR]],[[Z80:Opcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    866 bytes (137 words) - 22:16, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    851 bytes (132 words) - 22:16, 5 February 2016
  • ...pcodes:OTIR|OTIR]],[[Z80:Opcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]] [[Category:Z80 Assembly]]
    864 bytes (137 words) - 22:21, 5 February 2016
  • ...odes:OUTD|OUTD]],[[Z80:Opcodes:OTDR|OTDR]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]] [[Category:Z80 Assembly]]
    1 KB (205 words) - 22:32, 5 February 2016
  • Used in bit-masking. For more information see [[Z80:Flags and Bit-Level Instructions|here]]. ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]]
    1 KB (183 words) - 07:50, 6 February 2016
  • ...t use of AND is in bit-masking. For more information on bit-masking, see [[Z80:Flags and Bit-Level Instructions|here]]. ...80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]]
    1 KB (193 words) - 07:50, 6 February 2016
  • ...[Z80:Opcodes:OR|OR]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:SET|SET]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    956 bytes (153 words) - 22:06, 5 February 2016
  • ...[Z80:Opcodes:OR|OR]],[[Z80:Opcodes:RES|RES]],[[Z80:Opcodes:SCF|SCF]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    899 bytes (142 words) - 22:37, 5 February 2016
  • ...be set to interrupt mode 1 (OS interrupts) or interrupt mode 2 using [[Z80:Opcodes:IM|IM]]. Be sure to re-enable interrupt mode 1 before returning to the OS. ...:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]]
    542 bytes (76 words) - 22:07, 5 February 2016
  • ...:Opcodes:HALT|HALT]],[[Z80:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    849 bytes (132 words) - 22:31, 5 February 2016
  • Not used by TI calculators, but means that an external device plugged into a z80 device generates the interrupt. ...and 150). Every time an interrupt is encountered, the OS performs an [[Z80:Opcodes:RST|RST]] $28.
    2 KB (248 words) - 22:15, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (193 words) - 22:00, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (257 words) - 22:05, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    650 bytes (94 words) - 22:05, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    647 bytes (95 words) - 22:21, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (195 words) - 22:22, 5 February 2016
  • ...:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]] [[Category:Z80 Assembly]]
    595 bytes (87 words) - 22:24, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (189 words) - 22:30, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]] [[Category:Z80 Assembly]]
    1,019 bytes (155 words) - 22:31, 5 February 2016
  • ...80:Opcodes:DAA|DAA]],[[Z80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (221 words) - 22:37, 5 February 2016
  • ...80:Opcodes:DEC|DEC]],[[Z80:Opcodes:INC|INC]],[[Z80:Opcodes:SBC|SBC]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    1 KB (204 words) - 22:39, 5 February 2016
  • ...80:Opcodes:IM|IM]],[[Z80:Opcodes:RET|RET]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]] [[Category:Z80 Assembly]]
    1,013 bytes (146 words) - 22:00, 5 February 2016
  • ...tinuously call the interrupt code once interrupts are reenabled with [[Z80:Opcodes:EI|EI]]. * Address 4000h ~ 7FFFh: Memory Bank A (Page selected in [[Z80:Ports:Port06|port06]])
    6 KB (925 words) - 08:10, 6 February 2016
  • Repeats the instruction [[Z80:Opcodes:LDD|LDD]] (Does a LD (DE),(HL) and decrements each of DE, HL, and BC) until [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]]
    822 bytes (129 words) - 22:05, 5 February 2016
  • Repeats [[Z80:Opcodes:LDI|LDI]] (LD (DE),(HL), then increments DE, HL, and decrements BC) until B [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]]
    789 bytes (118 words) - 22:10, 5 February 2016
  • ...:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]] Source: [http://www.zilog.com/manage_directlink.php?filepath=docs/z80/um0080&extn=.pdf]
    4 KB (533 words) - 08:25, 6 February 2016
  • [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]] [[Category:Z80 Assembly]]
    724 bytes (119 words) - 22:05, 5 February 2016
  • [[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDDR|LDDR]],[[Z80:Opcodes:LDIR|LDIR]] [[Category:Z80 Assembly]]
    656 bytes (101 words) - 22:43, 5 February 2016
  • [[Z80:Directives|Directives]] ...but it's effects may, and usually are in the program. An example is the [[Z80:Directives:ORG|.org]] directive, which itself is not included into the prog
    5 KB (862 words) - 07:34, 6 February 2016
  • DJNZ is a very useful instruction when it comes to creating loops. See [[Z80:Control Structures|Control Structures]] to find out more about loops. [[Z80:Opcodes:CALL|CALL]],[[Z80:Opcodes:JP|JP]],[[Z80:Opcodes:JR|JR]]
    830 bytes (127 words) - 08:00, 6 February 2016
  • 1. Because using bitwise [[Z80:Opcodes:AND|AND]] on a set bit doesn't change anything, this operation will preserv ...the bits unchanged instead of resetting. To reset all the bits, use [[Z80:Opcodes:AND|AND]] 0.
    1 KB (184 words) - 07:35, 5 February 2016
  • [[Z80:Opcodes:DI|DI]],[[Z80:Opcodes:EI|EI]],[[Z80:Opcodes:NOP|NOP]] [[Category:Z80 Assembly]]
    901 bytes (144 words) - 22:39, 5 February 2016
  • ...als|Tutorials]], [[Z80:Directives|Directives]], [[Z80:Opcodes|Opcodes]], [[Z80:Appendices|Other References]]) ...with permission from an administrator from [http://z80-heaven.wikidot.com/ Z80 Heaven]. Like the original content, these pages are licensed under the [htt
    3 KB (450 words) - 23:51, 25 May 2020
  • ...you want to load a 16-bit register into another 16-bit register (the [[Z80:Opcodes:LD|LD]] instruction won't work for this). [[Z80:Opcodes:PUSH|PUSH]]
    983 bytes (150 words) - 22:06, 5 February 2016
  • ...you want to load a 16-bit register into another 16-bit register (the [[Z80:Opcodes:LD|LD]] instruction won't work for this). [[Z80:Opcodes:POP|POP]]
    891 bytes (132 words) - 01:53, 14 March 2017
  • [[Z80:Opcodes:CPL|CPL]],[[Z80:Opcodes:SUB|SUB]] [[Category:Z80 Assembly]]
    677 bytes (97 words) - 22:30, 5 February 2016
  • [[Z80:Opcodes:NEG|NEG]],[[Z80:Opcodes:XOR|XOR]] [[Category:Z80 Assembly]]
    669 bytes (106 words) - 22:38, 5 February 2016
  • [[Z80:Opcodes:DJNZ|DJNZ]] uses B as the counter, so increasing B in the loop will result ...thing wrong with the code. We want it to repeat 256 times, and since [[Z80:Opcodes:DJNZ|DJNZ]] decrements first, by setting B to zero it will first change B t
    1 KB (176 words) - 07:34, 5 February 2016
  • [[Z80:Opcodes:HALT|HALT]] [[Category:Z80 Assembly]]
    616 bytes (92 words) - 22:10, 5 February 2016
  • [[Z80:Opcodes:SCF|SCF]] [[Category:Z80 Assembly]]
    578 bytes (86 words) - 22:11, 5 February 2016
  • [[Z80:Opcodes:EXX|EXX]] [[Category:Z80 Assembly]]
    1 KB (176 words) - 22:16, 5 February 2016
  • [[Z80:Opcodes:CCF|CCF]] [[Category:Z80 Assembly]]
    513 bytes (75 words) - 22:22, 5 February 2016
  • # To call a routine, use the ''[[Z80:Opcodes:CALL|call]]'' instruction, followed by the label name. Please note that you ..."*.inc" or "*.h" file type, but it's okay if you just make it a "*.asm"/"*.z80" file type.
    8 KB (1,272 words) - 08:01, 6 February 2016
  • ...inuously call the interrupt code once interrupts are re-enabled with [[Z80:Opcodes:EI|EI]]. Bit 3: Set 0 to put the calculator in low power mode if and only if the Z80 cpu enters the halt state (during the executing of a halt instruction). Set
    2 KB (375 words) - 23:56, 5 February 2016
  • In the [[Z80:Application Code|last tutorial]] we pointed out that you can not create per Creating an identifier is as simple as [[Z80:Opcodes:LDIR|ldir-ing]] into the AppVar.
    3 KB (502 words) - 07:59, 6 February 2016
  • ...by an asmPrgm token, and it's important for that to be included. the [[Z80:Opcodes:RET|ret]] is there only to prevent someone from trying access to this level [[Category:Z80 Assembly]]
    4 KB (678 words) - 08:22, 6 February 2016