02.03.2014 Views

Tornado

Tornado

Tornado

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>Tornado</strong> 2.0<br />

User’s Guide<br />

l( )<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

l() – disassemble and display a specified number of instructions<br />

void l<br />

(<br />

INSTR * addr, /* address of first instruction to disassemble if 0, */<br />

/* from the last instruction disassembled on the */<br />

/* call to l */<br />

int count /* number of instructions to disassemble */<br />

/* if 0, use the same the last call to l */<br />

)<br />

This routine disassembles a specified number of instructions and displays them on<br />

standard output. If the address of an instruction is entered in the system symbol table, the<br />

symbol will be displayed as a label for that instruction. Also, addresses in the opcode field<br />

of instructions will be displayed symbolically.<br />

To execute, enter:<br />

-> l [address [,count]]<br />

If address is omitted or zero, disassembly continues from the previous address. If count is<br />

omitted or zero, the last specified count is used (initially 10). As with all values entered<br />

via the shell, the address may be typed symbolically.<br />

N/A<br />

windsh, <strong>Tornado</strong> User’s Guide: Shell<br />

ld( )<br />

NAME<br />

SYNOPSIS<br />

ld( ) – load an object module into memory<br />

MODULE_ID ld<br />

(<br />

int syms, /* -1, 0, or 1 */<br />

BOOL noOp, /* ignored */<br />

char * name /* name of object module, NULL = standard input */<br />

)<br />

396

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

Saved successfully!

Ooh no, something went wrong!