Instructions of the week -- LA and EX 
Author Message
 Instructions of the week -- LA and EX

Quote:

> writes:

> >> * Add two registers together, and place the result into a third
> >> * register.
> >> *
> >> *          LA    0,0(1,1)            Add register 1 to register 1,
> >> *                                     and place the result into reg 0

> >No!  This will double the content of Register 1, and place the content
> >in Register 0.

> >You need LA 0,1(1,0) in order to increment.

> I think you have been reading messages a little bit too quickly. 8)

You're right.  I completely misread the original.

Sorry to the the original poster, who was correct.

Quote:
> Mark A. Young



Sat, 20 Jan 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Instructions of the week -- LA and EX

2. EX instruction: a question

3. Why use an LA instruction?

4. Proposed D & DR instructions of the week

5. Instruction for next week: BC

6. Instruction of the Week--LOCTR anyone?

7. Instruction of the week -- EDMK

8. Instruction of the week - BXLE

9. Week number + firstDay of week

10. DAY OF THE WEEK ROUTINE - day-week.txt (1/1)

11. DAY OF THE WEEK ROUTINE - day-week.txt (0/1)

12. Instruction Speed and instruction availability

 

 
Powered by phpBB® Forum Software