文档分类
将20H单元内两个BCD码变换成相应
的ASCII码放在21H:22H中
Org 0hLjmp 2000hORG 2000HMOV R0,#22HMOV @R0,#00MOV A,20HXCHD A,@R0ORL 22H,#30HSWAP AORL A,#30HMOV 21H,ASJMP $END MOV A,20HMOV B,#10HDIV ABORL B,#30HMOV 22H,BORL A,#30HMOV 21H,ASJMP $END ;15BYTE 14T