| ??? 06/18/03 12:46 Read: times |
#48699 - Converting Hex to Decimal in Hex |
I'm sure you don't understand me. I need to convert Hex to Hex. The second hex is the the number in decimal.
Here is an example: 2E(h) -> 46(d) -> 46(h) I'm using 8031. Here is part of the code that I wrote but it doesn't work well. MOV A, #numberH PUSH A ANL A, #0FH DA A MOV R3, A POP A ANL A, #0F0H SWAP A MOV B, #16H XCH A, B DA A XCH A, B MUL AB ADD A, R3 DA A Can somebody help me? Thanks |
| Topic | Author | Date |
| Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
| RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 | |
RE: Converting Hex to Decimal in Hex | 01/01/70 00:00 |



