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 Reply Cancel reply
Related Posts
A New Assembler Book: MineA New Assembler Book: Mine
I’ve been working on a new assembler book for a while – writing new material and organizing the old material ...
Review an Instruction: MGHReview an Instruction: MGH
I’m working on writing an article about each multiply instruction on the machine. Today’s instruction, Multiply Grande Halfword (MGH), provides ...
How to Print a RegisterHow to Print a Register
A friend of mine, Melvyn Maltz, was amused by some code I wrote recently. The code simply printed out the ...

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.