??? 04/13/04 17:48 Read: times |
#68427 - Hex file - question |
Hello,
I have a question concerning the way a controller interpreted a hex file to explain have a look at following little example: 1 $mod52 2 2000 3 org 2000H 2000 52454144 4 DB 'READY' 2004 59 5 2020 6 org 2020H 2020 7400 7 mov A,#00H 2022 00 8 begin: NOP 2023 00 9 NOP 2024 022027 10 jmp einde 11 ;code of the program... 2027 00 12 einde: NOP 13 end The Hex translation of this (with asm51.exe) is the following): :05 2000 00 524541445966 :08 2020 00 7400000002202700FB :00 0000 01 FF My Question is how can the controller now when he interpretes this code that for example the code 52 is the letter R and not the command: ANL Daddr,A .How does he make the switch to know if it is the command or the data character. I don't see in the generated hex-code a difference. Greetings and looking forward to some reactions... |
Topic | Author | Date |
Hex file - question | 01/01/70 00:00 | |
RE: Hex file - question | 01/01/70 00:00 | |
RE: Hex file - question![]() | 01/01/70 00:00 |