i would like to ask how to convert the txt file to intel hex file??
convert to intel hex file
Collapse
X
-
An Intel Hex File is still just a text file, only that data follows a specific formatting pattern.
Read in data from text file.
Write data in Intel Hex Format. -
ya...thx...but then how to convert the data to intel hex file format??
For example:
cseg at 8000h
jmp main
org 8100h
main: clr a
mov r7,#0
loop: mov a,r7
cpl a
mov p1,a
mov r6,#50h
djnz r6,$
djnz r7,loop
jmp $
end
After assembling, we get the intel HEX shown below.
:03800000028100 FA
:0F810000E47F00 EFF4F5907E50DEF EDFF680FEA8
:00000001FF
thanks for concern~~Comment
-
Thanks ur response, so that I would like to ask how to convert the data or hex.file to intel hex file format??
For example...
cseg at 8000h
jmp main
org 8100h
main: clr a
mov r7,#0
loop: mov a,r7
cpl a
mov p1,a
mov r6,#50h
djnz r6,$
djnz r7,loop
jmp $
end
After assembling, we get the intel HEX shown below.
:03800000028100 FA
:0F810000E47F00 EFF4F5907E50DEF EDFF680FEA8
:00000001FFComment
Comment