Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/01/02 12:00
Read: times


 
#25070 - RE: MOV cmd for sending a byte to a port
As for as assembler is concerned, I have been using Win 8051 (assembler cum simulator) and found it to be an excellant resource. You can find it at www.acebus.com

Comming to the question of how to convert BINARY to HEX easily...JEFF.

Split the binary byte into two nibbles and calculate the individual HEX value. EG:
Binary: 11010101
Step 1: Split into 2 nibbles: 1101 0101
Step 2: Find individual HEX values using place values...
1101 = 8+4+1=13=D
0101 = 4+1=5=5.
Therefore, 11010101b = D5h.
Place values for ur reference...

... 128 64 32 16 8 4 2 1

Sorry, to irritate you, if you already know all of these...

Regards,
Sriharsha.

List of 8 messages in thread
TopicAuthorDate
MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      

Back to Subject List