Difference between revisions of "Z80 Instruction Set"

From WikiTI
Jump to: navigation, search
Line 13: Line 13:
  
 
'''call''' ''(memaddress)'' - Performs a call
 
'''call''' ''(memaddress)'' - Performs a call
 +
 +
'''ret''' - Returns from a call

Revision as of 14:29, 10 January 2006


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

ret - Returns from a call