blob: dbf7ef01eed5f61b7d49e33592215ff84331848c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
; (c) Copyright 2007-2008 Zilog, Inc.
;-------------------------------------------------------------------------
; byte load a,(ix+nnnnnn)
; Input:
; Operand1:
; BC : 24-bit offset from ix
;
; Output:
; Result: A : 8 bit
;
; Registers Used:
; none
;-------------------------------------------------------------------------
.def __bldix
.assume adl=1
__bldix:
push ix
push af ; Preserve flags
add ix,bc
pop af ; Restore flags
ld a,(ix)
pop ix
ret
|