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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/02/01 11:50
Read: times


 
#13761 - What does the Hex code mean? (full)
Hi, friend,

Pls help me with one problem. Take a simple Assembly program for example.

ORG 0000H
LJMP MAIN

ORG 0100H
MAIN:
mov a, #6
mov r1, a
Mainloop:
djnz r1, Mainloop
sjmp $

END

The hex file for the above code is:
:03000000020100FA
:070100007406F9D9FE80FE30
:00000001FF

I just wonder how the hex code is generated? is that it includes more than instruction code? Since in the first line of the hex code, I can only recoginze "020100" which is the code for "LJMP MAIN", then what are the other stuff in the hex file?

Thx!

List of 10 messages in thread
TopicAuthorDate
What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      
RE: What does the Hex code mean? (full)            01/01/70 00:00      

Back to Subject List