The point of a USING statement is to inform the assembler which register to choose and which displacement to create when generating object code addresses. The IBM System/360 started with a single USING statement. Today, we have access to several different formats for creating USING statements. Are you familiar with them? If not, start here with a discussion of Labeled (or Named) USING statements. This kind of USING has distinct advantages over simple USING statements, especially in situations where the same data structure occurs multiple times and needs to be referenced simultaneously (as in linked lists). Here is some code you can use to play with these ideas.
Brush Up Your USING Skills
Categories:
Related Posts
Review an Instruction: ASIReview an Instruction: ASI
This little instruction comes with two surprises. I’ll tell you about one: It allows us to add two binary fields ...
Review an Instruction: CRBReview an Instruction: CRB
Get two instructions in one with Compare Registers and Branch (CRB). And this instruction is related to others you can ...
VisibleZ Academic PaperVisibleZ Academic Paper
Some colleagues and I recently published an academic article about VisibleZ in a Bulgarian computing journal. If the journal releases ...
