09.06.2013 Views

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>XENIX</strong> Programming Programming Commands<br />

adb (continued)<br />

The format letters available are as follows:<br />

o 2 Prints 2 bytes in octal. All octal numbers output by adb are preceded by 0.<br />

0 4 Prints 4 bytes in octal.<br />

q 2 Prints in signed octal.<br />

Q 4 Prints long signed octal.<br />

d 2 Prints in decimal.<br />

D 4 Prints long decimal.<br />

x 2 Prints 2 bytes in hexadecimal.<br />

X 4 Prints 4 bytes in hexadecimal.<br />

u 2 Prints a an unsigned decimal number.<br />

U 4 Prints long unsigned decimal.<br />

f 4 Prints the 32-bit value as a floating-point nu mber.<br />

F 8 Prints double floating point.<br />

b 1 Prints the addressed byte in octal.<br />

c 1 Prints the addressed character.<br />

C 1 Prints the addressed character using the following escape convention. Character<br />

values 000 to 040 are printed as an at sign (@.) followed by the corresponding<br />

character in the octal range 0100 to 0140. The at sign character itself is printed<br />

as @.@..<br />

s n Prints the addressed characters until a zero character is reached.<br />

S n Prints a string using the at sign (@.) escape convention. Here, n is the length of<br />

the string including its zero terminator.<br />

Y 4 Prints 4 bytes in date format. (See ctime in "System Functions" in the <strong>XENIX</strong><br />

<strong>2<strong>86</strong></strong> C Library <strong>Guide</strong>.)<br />

i n Prints as machine instructions. n is the nu mber of bytes occupied by the<br />

instruction. This style of printing causes variables 1 and 2 to be set to the offset<br />

parts of the source and destination respectively.<br />

B-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!