[A83] Re: ld hl,bc


[Prev][Next][Index][Thread]

[A83] Re: ld hl,bc




Nice trick, putting the hex instructions of the ld high1,high2 and ld 
low1,low2 after one another.

One question though, are you supposed to put this in your tab file, or 
in the source code ?

--Peter Martijn

David Phillips wrote:

> If you must...
> 
> ...addinstr LD BC,DE 424B 2 NOP 1
> ...addinstr LD BC,HL 444D 2 NOP 1
> ...addinstr LD DE,BC 5059 2 NOP 1
> ...addinstr LD DE,HL 545D 2 NOP 1
> ...addinstr LD HL,BC 6069 2 NOP 1
> ...addinstr LD HL,DE 626B 2 NOP 1
> 
>> Why not just 'ld hl, bc' ?
> 




Follow-Ups: References: