#include "dis.h"Include dependency graph for distabs.c:

Go to the source code of this file.
Functions | |
| char * | getnam (int k) |
| int | lookext (long off, long loc, char *buf) |
| char * | lookup (long addr, int type, int kind, long ext) |
| char * | mtrans (int c, int m, int type) |
| void | mtrunc (char *a) |
Variables | |
| static char * | sccsid |
| exec | HDR |
| nlist | symtab [MAXSYM] |
| reloc | relo [MAXSYM] |
| int | symptr = -1 |
| int | relptr = -1 |
| char * | REGS [] |
| char * | REGS0 [] |
| char * | REGS1 [] |
| int | symrank [6][6] |
| char | ADD [] = "\tadd" |
| char | OR [] = "\tor" |
| char | ADC [] = "\tadc" |
| char | SBB [] = "\tsbb" |
| char | AND [] = "\tand" |
| char | SUB [] = "\tsub" |
| char | XOR [] = "\txor" |
| char | CMP [] = "\tcmp" |
| char | NOT [] = "\tnot" |
| char | NEG [] = "\tneg" |
| char | MUL [] = "\tmul" |
| char | DIV [] = "\tdiv" |
| char | MOV [] = "\tmov" |
| char | ESC [] = "\tesc" |
| char | TEST [] = "\ttest" |
| char | AMBIG [] = "" |
| char | ROL [] = "\trol" |
| char | ROR [] = "\tror" |
| char | RCL [] = "\trcl" |
| char | RCR [] = "\trcr" |
| char | SAL [] = "\tsal" |
| char | SHR [] = "\tshr" |
| char | SHL [] = "\tshl" |
| char | SAR [] = "\tsar" |
| char * | OPFAM [] |
| opcode | optab [] |
|
|
Definition at line 361 of file distabs.c. References a, j, nlist::n_name, and symtab. |
|
||||||||||||||||
|
Definition at line 406 of file distabs.c. References c, getnam(), k, L, relo, relptr, S_BSS, sprintf(), strcat(), and strcpy(). Referenced by aohand(), lookup(), mahand(), mihand(), mmhand(), and tqhand(). |
|
||||||||||||||||||||
|
Definition at line 468 of file distabs.c. References exec::a_flags, A_SEP, b, getnam(), HDR, i, j, k, LOOK_ABS, lookext(), N_DATA, N_SECT, N_TEXT, PC, segflg, sprintf(), symptr, symrank, symtab, t, and x. |
|
||||||||||||||||
|
Definition at line 552 of file distabs.c. References a, b, FETCH, j, k, LOOK_ABS, lookup(), mod, N_DATA, offset, oflag, PC, pc, reg, REGS, REGS0, REGS1, rm, sprintf(), strcat(), and strcpy(). Referenced by aohand(), eshand(), mahand(), mjhand(), mmhand(), mshand(), mvhand(), pohand(), and srhand(). |
|
|
Definition at line 691 of file distabs.c. Referenced by eshand(), mahand(), mjhand(), mmhand(), pohand(), and srhand(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 68 of file distabs.c. Referenced by mergesort(), and sort(). |
|
|
|
|
|
|
|
|
Definition at line 22 of file distabs.c. Referenced by disbss(), disdata(), distext(), lookup(), and main(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{
ADD, OR, ADC, SBB, AND, SUB, XOR, CMP,
NOT, NEG, MUL, DIV, MOV, ESC, TEST, AMBIG,
ROL, ROR, RCL, RCR, SAL, SHR, SHL, SAR
}
|
|
|
Definition at line 93 of file distabs.c. Referenced by aahand(), aohand(), cihand(), dfhand(), inhand(), iohand(), ljhand(), mihand(), mmhand(), mqhand(), mshand(), mvhand(), pohand(), rehand(), sbhand(), sjhand(), and tqhand(). |
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{
"al", "cl", "dl", "bl", "ah", "ch", "dh", "bh",
"ax", "cx", "dx", "bx", "sp", "bp", "si", "di",
"es", "cs", "ss", "ds"
}
|
|
|
Initial value:
{
"bx_si", "bx_di", "bp_si", "bp_di", "si", "di", "", "bx"
}
|
|
|
Initial value:
{
"bx_si", "bx_di", "bp_si", "bp_di", "si", "di", "bp", "bx"
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
"@(#) distabs.c, Ver. 2.1 created 00:00:00 87/09/01"
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 28 of file distabs.c. Referenced by distext(), getlab(), lookup(), main(), objout(), and prolog(). |
|
|
Initial value:
{
5, 4, 1, 2, 3, 0,
1, 5, 4, 3, 2, 0,
4, 1, 5, 3, 2, 0,
3, 1, 2, 5, 4, 0,
3, 1, 2, 4, 5, 0,
2, 0, 1, 3, 4, 5
}
Definition at line 48 of file distabs.c. Referenced by lookup(). |
|
|
|
|
|
|
|
|
|
1.4.6