| ??? 06/30/05 07:56 Modified: 06/30/05 08:07 Read: times |
#96278 - It was discused al least..... a lot but: Responding to: ???'s previous message |
The sign:
push acc
jb acc.7, minus
mov a,#'+'
jnb ti,$
clr ti
mov sbuf,a
sjmp number:
minus: mov a,#'-'
mov sbuf,a
jnb ti,$
clr ti
number: pop acc
mov b,#100
div ab
add a,#'0'
jnb ti,$
clr ti
mov sbuf,a
mov a,b
mov b,#10
div ab
add a,#'0'
jnb ti,$
clr ti
mov sbuf,a
mov a,b
add a,#'0'
jnb ti,$
clr ti
mov sbuf,a
ret
|
| Topic | Author | Date |
| ASCII TO DECIMAL | 01/01/70 00:00 | |
| re: ascii to decimal | 01/01/70 00:00 | |
| DS1620 - ASCII??? | 01/01/70 00:00 | |
| 9 bits | 01/01/70 00:00 | |
| So not ASCII, then! | 01/01/70 00:00 | |
| The Othe way around | 01/01/70 00:00 | |
| Not ASCII | 01/01/70 00:00 | |
| Still Confused | 01/01/70 00:00 | |
| i whant to do this | 01/01/70 00:00 | |
| Re-read Neil's post! | 01/01/70 00:00 | |
| It was discused al least..... a lot but: | 01/01/70 00:00 | |
| You only forgot ... | 01/01/70 00:00 | |
For Ivan | 01/01/70 00:00 | |
| resource | 01/01/70 00:00 |



