| ??? 02/28/03 18:02 Read: times |
#40298 - How to handle program code boundaries? |
I get the following message when trying to assemble some code (using Paulmon's as31):
Warning, Relative offset exceeds -128 / +127 The line in question is:- cjne a,#0x52,ih_L1 Now I understand that the error has occurred because cjne only allows relative addressing within a code page (256 bytes). My question is how would a professional programmer avoid this situation? Would they specify the page boundaries using .org statements? Thanks for any help! I'm fairly new to 8052 assembly so sorry if this is a 'stupid' question! |
| Topic | Author | Date |
| How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 | |
| RE: How to handle program code boundaries? | 01/01/70 00:00 |



