URL
https://opencores.org/ocsvn/8051/8051/trunk
Subversion Repositories 8051
[/] [8051/] [trunk/] [asm/] [hex/] [counter_test.hex] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
;
mov tcon, #0afh ;
setb scon.0 ;
mov 7fh, #007h ; error 7
mov a, #005h ;
acall wait ;
mov a, #01fh ;
acall test ;
mov 7fh, #008h ; error 8
mov a, #005h ;
acall test_tcon ;
mov p0, #001h ;
;
; interrupt prioriti test
;
mov b,#000h ;
mov ie, #08fh ;
mov ip, #003h ;
mov 20, #00ch ;
mov tcon, #0afh ;
mov 7fh, #009h ; error 9
mov a, #005h ;
acall wait ;
mov a, #00fh ;
acall test ;
mov 7fh, #00ah ; error a
mov a, #005h ;
acall test_tcon ;
mov b,#000h ;
mov ip, #00ch ;
mov 20, #003h ;
mov tcon, #0afh ;
mov 7fh, #00bh ; error b
mov a, #005h ;
acall wait ;
mov a, #00fh ;
acall test ;
mov 7fh, #00ch ; error c
mov a, #005h ;
acall test_tcon ;
mov p0, #002h ;