We continue to investigate various load operations that are available (of which there are many). Load Byte (LB) is easy one to pick up if you haven’t used it in the past. Here is the write up.
Review an Instruction: LB (IBM Assembler)
Categories:
2 thoughts on “Review an Instruction: LB (IBM Assembler)”
Leave a ReplyCancel reply
Related Posts
Two Specialized Load Instructions – LLGTR and LLGTTwo Specialized Load Instructions – LLGTR and LLGT
These are easy to pick up – handy, too, if you want to write 64-bit addressing programs. If you are ...
Review an Instruction: AGSIReview an Instruction: AGSI
One thing that’s great about learning IBM assembler is that if you master one instruction, you often learn a handful ...
Structured Assembler Macros: The IF statementStructured Assembler Macros: The IF statement
Back in the 70′s many thoughtful computer scientists weighed in on a now-dead issue of the GoTo statement in high-level ...

Love the (L)oad (B)yte [LB] instruction! Like “(L)oad (H)alfword” [LH] except it loads just one byte (sign + 7 bit value) instead of two (sign + 15 bit value).
For this one (LB), it might be good to also state the range of values which can be loaded, from -128 (X’80’) through +127 (X’7F’)
Good suggestion, David, I’ll add it.