Difference between revisions of "83:ROMCalls:418E"

From WikiTI
Jump to: navigation, search
(Comments)
m
Line 20: Line 20:
 
== Comments ==
 
== Comments ==
 
Not really useful except to save space. Writing your own routine to copy [[83Plus:RAM:8478|OP1]] to [[83Plus:RAM:8478|OP2]] will probably be faster.
 
Not really useful except to save space. Writing your own routine to copy [[83Plus:RAM:8478|OP1]] to [[83Plus:RAM:8478|OP2]] will probably be faster.
 +
 +
==Can be replaced by==
 +
<nowiki>ld hl,op1
 +
ld de,op2
 +
ld bc,9
 +
ldir</nowiki>

Revision as of 04:36, 8 March 2007

Synopsis

Official Name: OP1toOP2

BCALL Address: 418E

Copies the contents of OP1 to OP2

Inputs

none

Outputs

Registers Destroyed

  • BC, DE, HL

Comments

Not really useful except to save space. Writing your own routine to copy OP1 to OP2 will probably be faster.

Can be replaced by

ld hl,op1
ld de,op2
ld bc,9
ldir