mulderm
Electrical
- Jun 4, 2003
- 35
Hello,
I want to get a formula for basic so I can convert a Integer
word with 2 ascii sign to split them in a MSD and LSD.
Example:
I have received from a database PC a Integer word N7:0 = 8525.
These word have 2 ASCII words: MSD=! and LSD=M.
How is the formula for basic (1771-db) so that I can
split this integer word(8525) in MSD=33 (ascii=!) and
LSD=77 (ascii=M)?
Any ideas?
Greetings,
mulderm
I want to get a formula for basic so I can convert a Integer
word with 2 ascii sign to split them in a MSD and LSD.
Example:
I have received from a database PC a Integer word N7:0 = 8525.
These word have 2 ASCII words: MSD=! and LSD=M.
How is the formula for basic (1771-db) so that I can
split this integer word(8525) in MSD=33 (ascii=!) and
LSD=77 (ascii=M)?
Any ideas?
Greetings,
mulderm