EE logic students!! helphelp! LC2 asm question!

dowxp

Diamond Member
Dec 25, 2000
4,568
0
76
i just need to find out one thing:

after inputting a number or character through trap, how do u convert it into regular text? because trap x20 outputs it into its ascii code. if the prior is not possible, how do u output the input of x20? aarghh.

for example:

TRAP x20; I type in "2" here and break it and it shows "50" in R0, which is 2 in ascii
TRAP x21; but yet, here, nothing is outputted, my gues is that x21 cannot output ascii codes.