Post Reply 
Name of MCODE 3-word page gosub and gotos
01-27-2018, 09:05 PM
Post: #2
RE: Name of MCODE 3-word page gosub and gotos
(01-27-2018 08:10 PM)Mike (Stgt) Wrote:  Do you also consider to name the 2-word relocatable XQ?
Excerpt from a ZENROM disassembler listing (I added the label):
Code:
B428 08E N          
B429 012 R          
B42A 3E9 *          
B42B 08C NCXQ   23FA [=GSB000]
Independent of the page p this first XQ of RN is actually a NCXQ p400

Ciao.....Mike

No, I consider them different matters.

The issue is that the 3 word XQ/GO need to have bits (of all 3 words) adjusted in the linker. For the ones you mention, they are always the same opcode bits, no matter if you pick GSB000, GSB256 or one the other two.

For these my idea is that you align a section at 256 and then make a GOSUB GSB256 (any of the labels work the same) and go back to the aligned label. That way you avoid a filler NOP and can ensure that it happens every time. I use this technique in Ladybug.

By the way, they are about the quad, not the page.. Wink

Håkan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread



User(s) browsing this thread: 1 Guest(s)