Download MT-151 LED
Transcript
Bit access to register spaces - HB, IB Prefix Description B[1-64] Binary format. Amount of bits being displayed provided in prefix. Bits are presented in order from least to most significant (opposite to binary representation of whole register). D[1-64] Decimal format. Value presented is calculated from amount of bits provided in prefix, with bit with lowest address being least significant (little endian) H[1-64] Hexadecimal format. Value presented is calculated from amount of bits provided in prefix, with bit with lowest address being least significant (little endian) It is worth noting that use of D prefix to display more than 16 bits of data will return different results when combined with different access modes (registers, bits). Such behavior is result of storage model used for multi-register (32- or 64-bit) data. Most significant word is stored in register with lowest address (big endian) and, consequently, on bits with lowest addresses. Register access obeys this storage model, but bit access does not, treating bits as linear space from bit with lowest address to bit with highest address. So, if one tries to read two registers using "register access": #D2.IR0 then such a command can return: 134749453 but "bit access" to 32 bits from two registers: #D32.IB0 will return: 487393288 The same applies to H prefix and to write access. 89