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
Labeled Using – A Powerful ToolLabeled Using – A Powerful Tool
Occasionally you need to take a DSECT and apply the structure to multiple areas of storage simultaneously. With a standard ...
Review an Instruction: MSRReview an Instruction: MSR
I’m still working my way alphabetically (ususally) through the instruction set, picking instructions you should learn. We are in the ...
Review a Six-pack of Instructions! (IBM Assembler)Review a Six-pack of Instructions! (IBM Assembler)
You can quickly learn or review six IBM Assembler instructions with this article. Insert Immediate instructions allow you to modify ...

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.