CodeView (cv.hlp) (Table of Contents; Topic list)
Radix (Description)
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The Radix (N) command changes the current radix for entering
     arguments and displaying the value of expressions. The new radix
     number can be 8 (octal), 10 (decimal), or 16 (hexadecimal).
     Binary and other radixes are not allowed.
 
     NOTE: Changing the radix does not convert displayed expressions
           from one base to another. For example, assume you have a
           watch value of buffer[13] under the default radix
           (decimal). If you change to a hexadecimal radix, this watch
           expression changes to buffer[0x13], not buffer[0x0D].
 
     When you start up CodeView, the default radix is 10 (decimal),
     unless your main program is written with the Microsoft Macro
     Assembler (MASM). In this case the default radix is 16
     (hexadecimal). If you give the Radix command with no argument,
     CodeView displays the current radix.
 
     However, the following conditions are not affected by the Radix
     command:
 
        ■ The radix for entering a new radix is always decimal.
 
        ■ Format specifiers given with the Display Expression (?)
          command override the current radix.
          See: Format Specifiers
 
        ■ Addresses are always shown in hexadecimal.
 
        ■ In Assembly mode, all values are shown in hexadecimal.
          See: Source Display Mode (S) Command-Window Command
               Options Menu: Source-Window Command
 
        ■ The display radix for Dump (D) and Breakpoint Set (BP)
          commands is always hexadecimal if the size is bytes, words,
          or doublewords; it is always decimal if the size is integers,
          unsigned integers, short reals, long reals, or 10-byte reals.
          See: Dump (D) Command-Window Commands
               Breakpoint Set (BP) Command-Window Command
 
        ■ The input radix for the Enter Commands (E) command with the
          prompting method is always hexadecimal if the size is bytes,
          words, or doublewords; it is always decimal if the size is
          integers, unsigned integers, short reals, long reals, or
          10-byte reals.
 
          The current radix is used for all values given as part of a
          list, except real numbers, which must be entered in decimal.
          See: Enter Command-Window Commands
 
        ■ The register display is always in hexadecimal.
          See: Register Window
                                    -♦-