- #1
kloong
- 36
- 0
Assembly language. how to change the 80h in my register to 50h?
that goes to others to. like 45h to 2Dh.
basically, i came up with a sequence to change the user's double digit decimal input to hex value.
i.e.
when i enter 45, AL = 45h
how do i change it to 2Dh??
; al = 45h. how to change it to 2Dh?
45(decimal) = 2Dh.
must be able to do this for other conversion.
that goes to others to. like 45h to 2Dh.
basically, i came up with a sequence to change the user's double digit decimal input to hex value.
i.e.
when i enter 45, AL = 45h
how do i change it to 2Dh??
; al = 45h. how to change it to 2Dh?
45(decimal) = 2Dh.
must be able to do this for other conversion.