83:ROMCalls:418E
From WikiTI
Revision as of 16:36, 23 September 2009 by FloppusMaximus (Talk | contribs)
Synopsis
Official Name: OP1toOP2
Call Address: 418E or 0008
Copies the contents of OP1 to OP2
Inputs
none
Outputs
Registers Destroyed
- F, BC, DE, HL
Comments
Instead of a "CALL 418Eh", you can use an "RST 08h", which is smaller and slightly faster.
This is roughly equivalent to the following code:
ld hl,op1 ld de,op2 ld bc,11 ldir