ack/mach/i86/libem/csa2.s

27 lines
405 B
ArmAsm
Raw Normal View History

1987-01-08 10:13:48 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
1985-02-07 15:33:13 +00:00
.define .csa2
1987-01-08 10:13:48 +00:00
.sect .text
1985-02-07 15:33:13 +00:00
.csa2:
! si, descriptor address
! bx, index
mov dx,(si) ! default
sub bx,2(si)
cmp bx,4(si)
ja 1f
sal bx,1
mov bx,6(bx)(si)
test bx,bx
jnz 2f
1:
mov bx,dx
test bx,bx
jnz 2f
1987-01-08 10:13:48 +00:00
.extern ECASE
.extern .fat
1985-02-07 15:33:13 +00:00
mov ax,ECASE
push ax
jmp .fat
2:
jmp bx