??? 01/10/05 02:59 Read: times |
#84616 - .end Responding to: ???'s previous message |
James Krushlucki said:
So if I understand you correctly, putting .end at the end of my program is like adding a loop back to start? Not exactly. .end simply tells your assembler that it has reached the end of your source code. This just tells the assembler to stop generating code. If your CODE memory happened to contain something executable after that .end, it would get executed! Remember: after executing an instruction, the processor will always fetch the "next" byte from CODE memory and execute it as an instruction. (the precise meaning of "next" depends on the specific instruction - especially for jumps & calls!) |
Topic | Author | Date |
LCD display problems | 01/01/70 00:00 | |
Raster Scan | 01/01/70 00:00 | |
Program looping. | 01/01/70 00:00 | |
.end | 01/01/70 00:00 | |
Re: .end![]() | 01/01/70 00:00 |