Exactly how do the condition codes on the BR function affect BR?
@zaboomafia
7 жыл бұрын
What gets stored into the destination register? Where does it come from?
@werbungschrott4050
7 жыл бұрын
the result: for exampe for AND, whether the two Inputs (from the source Registers) are equal and for ADD the sum of the two inputs. For instructions like LD, the value that you want to get from memory is stored in the destination register. The values either come from a computation by the ALU (add, and, or, Sub, etc etc) or come from memory (ld, ldr, ldi, lea etc)
@HuyTran-ew4yq
6 жыл бұрын
Hi, I don't understand what the BR function and GETc funtion affect to this program.Could you help me. (I started learing yesterday :((( ) Sorry with my E-grammar. .ORIG x3000 LD R1, NOT_A ADD R0, R0, R1 BRZ result HALT result: LD R0, Y OUT HALT NOT_A .FILL x-41 Y .FILL x59 .END Thank you!!!
Пікірлер: 7