10/18/2014 6:58 AM | |
Joined: 11/21/2007 Last visit: 9/25/2024 Posts: 2325 Rating: (308)
|
Hello Ronaldo Schittini Gardoni Jr This seems to be a program code based on indirect addressing. Here is a short description of the instructions that you are looking for : MAB - Transfer the contents of ACCU 1 ( Accumulator-1 ) to the base address register (20 bits) LRW - add the specified constant to content of the BR register and load the word addressed in this way in ACCU-1-L SLD - Shift a double word to the left (vacant positions to the right are padded with zeros) |
There is no such thing as the last bug in a program |
|
This contribution was helpful to1 thankful Users |
10/20/2014 8:41 PM | |
Joined: 11/21/2007 Last visit: 9/25/2024 Posts: 2325 Rating: (308)
|
Hello Ronaldo Junior You are thinking in the right direction. I would suggest that you go through Ch 9.4 Operations with the Base Address Register (BR Register) . It explains in details the use of Base Address Register . Some of the Important start addresses ( For CPU 948 ) are : 000E F800 H - Counters 000E FA00 H - Timers 000E FC00 H - Flag Area ( I would like to believe that 000E EC00 was an error ) 000E FE00 H - PII ( Process Input Image ) 000E FE80 H - PIQ ( Process Output Image ) Hope this helps Cheers Navnag |
Last edited by: Navnag at: 10/20/2014 8:43 PMThere is no such thing as the last bug in a program |
|
11/12/2014 5:55 AM | |
Joined: 10/7/2005 Last visit: 11/19/2024 Posts: 3027 Rating: (1057)
|
Hello Ronaldo Junior
Q2: What is transferred to the double word MD236? A2: FD236 contains the value from DD30 of DB45 (before DD30gets overwritten with a value of 10.0) Q3: When executing the instruction TRD30, where is the value 10.0 written? A3: It is written into DD30 of DB45 I hope this helps |
Cheers |
|
This contribution was helpful to2 thankful Users |
Follow us on