URL
https://opencores.org/ocsvn/8051/8051/trunk
Subversion Repositories 8051
[/] [8051/] [tags/] [rel_19/] [asm/] [lcall.asm] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
;
; test lcall and bit addressable memory space
;
mov 20h, #00h;
setb 02h;
lcall t;
mov P0, 20h;
ljmp e;
t:
mov P0, #10;
ret;
e:
nop;
nop;
;
; test p bit in psw
;
mov r0, #0f0h
mov a, #031h; p=1
mov c, psw.0;
jnc error;
mov p0, #001h;
mov r0, #0f1h;
mov a, #063h; p=0
mov c, psw.0;
jc error;
error:
mov p0, r0;
Go to most recent revision | Compare with Previous | Blame | View Log