Breaks apart the internal register representation and returns a tuple indicating if the register is global or not and its logical index.
(self)
| 192 | /// Breaks apart the internal register representation and returns a tuple indicating if the |
| 193 | /// register is global or not and its logical index. |
| 194 | pub(crate) fn to_parts(self) -> (bool, u8) { |
| 195 | if self.0 < Self::MAX_GLOBAL { (true, self.0) } else { (false, self.0 - Self::MAX_GLOBAL) } |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | /// A tagged reference to a variable (register) encoding the register's absolute address |
no outgoing calls
no test coverage detected