ae75f9d4e5
- 755 -> 644
17 lines
256 B
ArmAsm
17 lines
256 B
ArmAsm
.define .iaar
|
|
.text
|
|
|
|
.iaar:
|
|
pop cx
|
|
pop dx
|
|
cmp dx,#2
|
|
.extern .unknown
|
|
jne .unknown
|
|
pop bx ! descriptor address
|
|
pop ax ! index
|
|
sub ax,(bx)
|
|
mul 4(bx)
|
|
pop bx ! array base
|
|
add bx,ax
|
|
push cx
|
|
ret
|