5/22/2020 6:45 AM | |
Posts: 29 Rating:
|
We know that the length of the address register is 32 bits whereas the length of DB pointer is 48 bits. Then how DB pointer is saved in an address register. |
5/22/2020 10:32 AM | |
Joined: 10/7/2005 Last visit: 4/26/2025 Posts: 3047 Rating:
|
Hi Swagato you are correct that a Pointer is 6 Bytes (48Bits) and Address Registers are 4 Bytes (32 Bits) long. Pointer format is actually a subset of the ANY Pointer format (which is 10 Bytes/80 Bits long) and the attached has both side by side (taken from Step 7 inbuilt help). To answer your question "Then how DB pointer is saved in an address register?": It isn't and just like with ANY Pointers you grab the DB number information separately from the Pointer to be able to open the DB explicitly and load AR 1 (or 2) with the remaining 4 Bytes (memory area and Byte.Bit address) and proceed from there. |
Last edited by: fritz at: 05/22/2020 10:33:21Cheers |
|
This contribution was helpful to
3 thankful Users |
Follow us on