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
Help Me Write The Worst Program EverHelp Me Write The Worst Program Ever
I never got to meet John Erhman but we corresponded a little. He was kind enough to get me included ...
Web Site Down TemporarilyWeb Site Down Temporarily
The web site at Columbus State University that hosts my assembler material is temporarily down. I’m working on moving all ...
BRC and BRCL Instruction LessonsBRC and BRCL Instruction Lessons
I’ve added lessons on two relative branch operands that have become fundamental tools for “baseless” programs: Branch Relative on Condition ...