#include <sys/types.h>#include <a.out.h>#include <fcntl.h>#include <unistd.h>#include <string.h>#include <stdlib.h>#include <stdio.h>Include dependency graph for dis.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | opcode |
Defines | |
| #define | MAXSYM 1500 |
| #define | AL REGS[0] |
| #define | CL REGS[1] |
| #define | DL REGS[2] |
| #define | BL REGS[3] |
| #define | AH REGS[4] |
| #define | CH REGS[5] |
| #define | DH REGS[6] |
| #define | BH REGS[7] |
| #define | AX REGS[8] |
| #define | CX REGS[9] |
| #define | DX REGS[10] |
| #define | BX REGS[11] |
| #define | SP REGS[12] |
| #define | BP REGS[13] |
| #define | SI REGS[14] |
| #define | DI REGS[15] |
| #define | ES REGS[16] |
| #define | CS REGS[17] |
| #define | SS REGS[18] |
| #define | DS REGS[19] |
| #define | BX_SI REGS0[0] |
| #define | BX_DI REGS0[1] |
| #define | BP_SI REGS0[2] |
| #define | BP_DI REGS0[3] |
| #define | OBJMAX 8 |
| #define | LOOK_ABS 0 |
| #define | LOOK_REL 1 |
| #define | LOOK_LNG 2 |
| #define | TR_STD 0 |
| #define | TR_SEG 8 |
| #define | FETCH(p) ++PC; p = getchar() & 0xff; objbuf[objptr++] = p |
Functions | |
| _PROTOTYPE (void eshand,(int j)) | |
| _PROTOTYPE (void objout,(void)) | |
| _PROTOTYPE (void badseq,(int j, int k)) | |
| _PROTOTYPE (void main,(int argc, char **argv)) | |
| _PROTOTYPE (char *getnam,(int k)) | |
| _PROTOTYPE (int lookext,(long off, long loc, char *buf)) | |
| _PROTOTYPE (char *lookup,(long addr, int type, int kind, long ext)) | |
| _PROTOTYPE (char *mtrans,(int c, int m, int type)) | |
| _PROTOTYPE (void mtrunc,(char *a)) | |
Variables | |
| nlist | symtab [MAXSYM] |
| reloc | relo [MAXSYM] |
| int | symptr |
| int | relptr |
| opcode | optab [256] |
| char * | REGS [] |
| char * | REGS0 [] |
| char * | REGS1 [] |
| int | symrank [6][6] |
| unsigned long | PC |
| int | segflg |
| int | objflg |
| unsigned char | objbuf [OBJMAX] |
| int | objptr |
| char | ADD [] |
| char | OR [] |
| char | ADC [] |
| char | SBB [] |
| char | AND [] |
| char | SUB [] |
| char | XOR [] |
| char | CMP [] |
| char | NOT [] |
| char | NEG [] |
| char | MUL [] |
| char | DIV [] |
| char | MOV [] |
| char | ESC [] |
| char | TEST [] |
| char | AMBIG [] |
| char * | OPFAM [] |
| exec | HDR |
|
|
|
|
|
Definition at line 61 of file dis.h. Referenced by ini_terminal(), ins_line(), reverse_scroll(), scrollb(), and starttcap(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 62 of file dis.h. Referenced by ini_terminal(), pagef(), panic(), RD(), shift(), and VI(). |
|
|
|
|
|
Definition at line 70 of file dis.h. Referenced by starttcap(). |
|
|
|
|
|
|
|
|
Definition at line 63 of file dis.h. Referenced by starttcap(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 126 of file dis.h. Referenced by aahand(), aohand(), cihand(), eshand(), fphand(), imhand(), inhand(), iohand(), ljhand(), mahand(), mihand(), mjhand(), mmhand(), mqhand(), mshand(), mtrans(), mvhand(), pohand(), rehand(), sjhand(), srhand(), and tqhand(). |
|
|
|
|
|
Definition at line 120 of file dis.h. Referenced by ljhand(). |
|
|
Definition at line 119 of file dis.h. Referenced by sjhand(). |
|
|
Definition at line 35 of file dis.h. Referenced by main(), and parse_line(). |
|
|
Definition at line 91 of file dis.h. Referenced by objdump(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 123 of file dis.h. Referenced by mshand(). |
|
|
Definition at line 122 of file dis.h. Referenced by aohand(), eshand(), mahand(), mjhand(), mmhand(), mvhand(), 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(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 35 of file dishand.c. Referenced by eshand(), fphand(), mahand(), mjhand(), objdump(), objini(), and objout(). |
|
|
|
|
|
Definition at line 37 of file dishand.c. Referenced by eshand(), fphand(), objdump(), objini(), and objout(). |
|
|
|
|
|
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(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 33 of file dishand.c. Referenced by dfhand(), disbss(), disdata(), distext(), fphand(), lookup(), objini(), and sbhand(). |
|
|
|
|
|
Definition at line 28 of file distabs.c. Referenced by distext(), getlab(), lookup(), main(), objout(), and prolog(). |
|
|
Definition at line 48 of file distabs.c. Referenced by lookup(). |
|
|
Definition at line 24 of file distabs.c. Referenced by dump_sym_tab(), findsname(), findsval(), getlab(), getnam(), gnu_init(), gnu_listsym(), gnu_sname(), gnu_sval(), listsym(), lookup(), main(), parse_line(), prolog(), stack_trace(), and syminit(). |
|
|
|
|
|
|
1.4.6