Difference between revisions of "Z80 Instruction Set"

From WikiTI
Jump to: navigation, search
 
Line 1: Line 1:
 
{{Wikify}}
 
{{Wikify}}
 
'''ld''' ''(register1,register2) (memaddress,register)'' - Transfers data.
 
'''ld''' ''(register1,register2) (memaddress,register)'' - Transfers data.
 +
 
'''jp''' ''(memaddress) (1bitregister,memaddress)'' - Performs a direct jump
 
'''jp''' ''(memaddress) (1bitregister,memaddress)'' - Performs a direct jump
 +
 
'''jr''' ''(memaddress) (1bitregister,memaddress)'' - Performs a relative jump
 
'''jr''' ''(memaddress) (1bitregister,memaddress)'' - Performs a relative jump
 +
 
'''set''' ''(bit,byte)'' - Sets a bit
 
'''set''' ''(bit,byte)'' - Sets a bit
 +
 
'''res''' ''(bit,byte)'' - Resets a bit
 
'''res''' ''(bit,byte)'' - Resets a bit
 +
 
'''bit''' ''(bit,byte)'' - Test to see whether a bit is set or reset.
 
'''bit''' ''(bit,byte)'' - Test to see whether a bit is set or reset.
 +
 
'''call''' ''(memaddress)'' - Performs a call
 
'''call''' ''(memaddress)'' - Performs a call

Revision as of 13:45, 21 December 2005


Please format this article according to the guidelines and Wikification suggestions, then remove this {{Wikify}} notice from the article.


ld (register1,register2) (memaddress,register) - Transfers data.

jp (memaddress) (1bitregister,memaddress) - Performs a direct jump

jr (memaddress) (1bitregister,memaddress) - Performs a relative jump

set (bit,byte) - Sets a bit

res (bit,byte) - Resets a bit

bit (bit,byte) - Test to see whether a bit is set or reset.

call (memaddress) - Performs a call