Re: A86: Instruction set question?


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

Re: A86: Instruction set question?



>
>There is no instruction to load (hl) into hl, partly because (hl) is usually
>a byte, but you can use
>
>ld e,(hl)
>inc hl
>ld d,(hl)
>ex de,hl
>
>~Stephen Hicks
>
>

or you could just do a simple call, normally:
	call 4010h

or if using Asm86 2.0 do:
	call LD_HL_MHL


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Alan Bailey            mailto:bailela@charlie.cns.iit.edu
 IRC:Abalone              Web:http://www.iit.edu/~bailela/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 


References: