Download presentation

Presentation is loading. Please wait.

Published byAugustus Agar Modified over 3 years ago

1
Loading Multiple Base Registers

2
Programmer Responsibilities Tell the assembler which registers to choose when creating base/displacement addresses X DS CL5 ==> C008 (BDDD) Do this with USING: USING *,R12 Load the base register with the correct address

3
Loading a Single Register Address X‘1000’ BASR R12,R0 USING *,R12 X’1002’...

4
Why is this Incorrect? Address USING *,R12 X’1000’ BASR R12,R0 X’1002’...

5
Loading Multiple Registers Address X‘1000’ BASR R12,R0 USING *,R12,R11,R10 X’1002’ LA R10,2048 LA R11,2048(R12,R10) LA R10,2048(R11,R10) Remember that X’1000’ = 4096 X’800’ = 2048

6
Direction It would be helpful to understand the terms Domain and Range as they relate to USINGs. Also, read about the DROP directive

Similar presentations

OK

Review of Blackfin Syntax Moves and Adds 1) What we already know and have to remember to apply 2) What we need to learn.

Review of Blackfin Syntax Moves and Adds 1) What we already know and have to remember to apply 2) What we need to learn.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google