Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-183
SET SOURCE BACK and SET SOURCE FOR
Set GABRIEL to a binary value and display:
Show GABRIEL in a new default radix:
Modify it to show that the default input radix is 10:
Set the input radix to octal, and leave the output radix at decimal:
Enter a new octal value; displaying it results in decimal:
Enter a new value explicitly as decimal:
SET SOURCE BACK and SET SOURCE FOR
The SET SOURCE BACK and SET SOURCE FOR commands control the defaults the
SOURCE command uses when displaying source code. SET SOURCE BACK
controls how much source code SOURCE displays preceding the requested location,
and SET SOURCE FOR controls how much source code SOURCE displays.
count
specifies the amount of source code as a number of statements, source lines, or
instructions.
-TALOBJ-MODIFY gabriel = %b00110100; DISPLAY gabriel
GABRIEL = %64
-TALOBJ-SET RADIX = DECIMAL; DISPLAY gabriel
GABRIEL = 52
-TALOBJ-MODIFY gabriel = 12; DISPLAY gabriel
GABRIEL = 12
-TALOBJ-SET RADIX INPUT = OCTAL; DISPLAY gabriel
GABRIEL = 12
-TALOBJ-MODIFY gabriel = 45; DISPLAY gabriel
GABRIEL = 37
-TALOBJ-MODIFY gabriel= %D45; DISPLAY gabriel
GABRIEL = 45
SET SOURCE { BACK | FOR } [=] count
count:
integer [ STATEMENT[S] | LINE[S] | INSTRUCTION[S] ]