Industry Online Support
Technical Forum
3/29/2013 2:13 AM | |
Joined: 10/7/2005 Last visit: 12/20/2024 Posts: 3029 Rating: (1058)
|
Hello JBailey the Byte address for S Flags is in bits 0-11 and the bit address is in bits 12-14 and the attached pic from page 142 of the 948 CPU manual has more on this. What this means in your case is this: KH C008 = S Flag address 8.4 (C = 1100, the most significant bit is ignored, so its 100 = 4) KHE0A4 = S Flag address 164.6 (E = 1110, the most significant bit is ignored, so its 110 = 6) As S Flags will be converted into "normal" M bits in the S7 (S 0.0 becomes M256.0 by default), you'll need to manually adjust the S5 DO command indirect addressing of these. I hope this helps |
Cheers |
|
Follow us on