1、从标准输入(0xFC15/charIn)读取三个字符,并依次保存到栈中。2、从标准输出(0xFC16/charOut)逆序打印之前保存在栈中的三个字符。
LDBA 0xFC15,d
STBA -1,s
LDBA 0xFC15,d
STBA -2,s
LDBA 0xFC15,d
STBA -3,s
SUBSP 3,i
LDBA 0,s
STBA 0xFC16,d
LDBA 1,s
STBA 0xFC16,d
LDBA 2,s
STBA 0xFC16,d
ADDSP 3,i
STOP
.END