ack/util/int/disassemble.c

1857 lines
27 KiB
C
Raw Permalink Normal View History

2019-03-17 14:42:00 +00:00
/** @file
* For disassembling the text segment.
*/
1988-06-22 16:57:09 +00:00
1994-06-24 11:31:16 +00:00
/* $Id$ */
1988-06-22 16:57:09 +00:00
#include "global.h"
#include "opcode.h"
#include "memdirect.h"
#include "proctab.h"
#include "alloc.h"
#include "whatever.h"
1988-06-22 16:57:09 +00:00
PRIVATE ptr TC;
2019-03-17 14:42:00 +00:00
PRIVATE void do_pr_instr(unsigned int);
1988-06-22 16:57:09 +00:00
/* This text is copied and modified from text.h */
#define text_loc(a) (*(text + (p2i(a))))
/* Reading the opcode.
2019-03-17 14:42:00 +00:00
*/
1988-06-22 16:57:09 +00:00
#define nextTCbyte() (TC+=1, btou(text_loc(TC-1)))
/* Shortie arguments consist of the high order value, derived from
2019-03-17 14:42:00 +00:00
the opcode and passed as a parameter, and the following byte.
*/
1988-06-22 16:57:09 +00:00
#define St_arg(h) (TC+=1, ((h)<<8) + btol(text_loc(TC-1)))
/* Two-byte arguments consist of the following two bytes.
2019-03-17 14:42:00 +00:00
*/
1988-06-22 16:57:09 +00:00
#define Lt_arg_2() (TC+=2, (btol(text_loc(TC-1)) | \
(btos(text_loc(TC-2)) << 8)))
#define Pt_arg_2() (TC+=2, (btol(text_loc(TC-1)) | \
(btos(text_loc(TC-2)) << 8)))/* should test */
#define Nt_arg_2() (TC+=2, (btol(text_loc(TC-1)) | \
(btos(text_loc(TC-2)) << 8)))/* should test */
#define Ut_arg() (TC+=2, (btol(text_loc(TC-1)) | \
(btol(text_loc(TC-2)) << 8)))
/* The L-, P-, and N-4-bytes #defines are all equal, because
2019-03-17 14:42:00 +00:00
we assume our longs to be 4 bytes long.
*/
1988-06-22 16:57:09 +00:00
#define Lt_arg_4() (TC+=4, (btol(text_loc(TC-1)) | \
(btol(text_loc(TC-2)) << 8) | \
(btol(text_loc(TC-3)) << 16) | \
(btos(text_loc(TC-4)) << 24)))
#define Pt_arg_4() (TC+=4, (btol(text_loc(TC-1)) | \
(btol(text_loc(TC-2)) << 8) | \
(btol(text_loc(TC-3)) << 16) | \
(btos(text_loc(TC-4)) << 24)))/* should test */
#define Nt_arg_4() (TC+=4, (btol(text_loc(TC-1)) | \
(btol(text_loc(TC-2)) << 8) | \
(btol(text_loc(TC-3)) << 16) | \
(btos(text_loc(TC-4)) << 24)))/* should test */
/* This text was generated by mkswitch Pr and then modified */
2019-03-17 14:42:00 +00:00
PRIVATE void PrAARl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" AAR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrAARm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" AAR %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrAARz(void)
{
1988-06-22 16:57:09 +00:00
printf(" AAR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ADF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ADF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ADI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADPl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADP %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADPl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADP %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADPm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADP %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADPs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ADP %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADSm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADS %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ADS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ADU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrADUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ADU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrANDl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" AND %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrANDm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" AND %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrANDz(void)
{
1988-06-22 16:57:09 +00:00
printf(" AND\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASPl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ASP %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASPl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ASP %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASPm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ASP %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASPs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ASP %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ASS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrASSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ASS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBEQl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BEQ %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBEQl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BEQ %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBEQs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BEQ %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BGE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BGE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BGE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGTl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BGT %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGTl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BGT %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBGTs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BGT %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BLE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLMl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLM %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLMl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLM %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLMs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BLM %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" BLS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLTl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLT %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLTl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BLT %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBLTs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BLT %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBNEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BNE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBNEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BNE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBNEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BNE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBRAl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BRA %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBRAl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" BRA %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrBRAs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" BRA %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCAIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CAI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCALl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CAL %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCALl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CAL %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCALm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CAL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCALs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" CAL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCFFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CFF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCFIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CFI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCFUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CFU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCIFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CIF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCIIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CII\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCIUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CIU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CMF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" CMF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CMF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CMI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CMI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CMI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMPz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CMP\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CMS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMSs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" CMS %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CMS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CMU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCMUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CMU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCOMl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" COM %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCOMz(void)
{
1988-06-22 16:57:09 +00:00
printf(" COM\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSAl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CSA %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSAm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CSA %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSAz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CSA\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSBl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CSB %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSBm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" CSB %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCSBz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CSB\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCUFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CUF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCUIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CUI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrCUUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" CUU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDCHz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DCH\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDECz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DEC\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDEEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDEEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDEEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" DEE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDELn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDELn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDELp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDELp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DEL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDELs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" DEL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDUPl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DUP %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDUPm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DUP %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDUSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DUS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDUSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DUS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DVF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" DVF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DVF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DVI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DVI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DVI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" DVU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrDVUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" DVU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrEXGl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" EXG %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrEXGs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" EXG %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrEXGz(void)
{
1988-06-22 16:57:09 +00:00
printf(" EXG\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFEFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" FEF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFEFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" FEF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFIFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" FIF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFIFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" FIF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFILu(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" FIL %ld\n", Ut_arg() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrFILl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" FIL %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrGTOu(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" GTO %ld\n", Ut_arg() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrGTOl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" GTO %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINCz(void)
{
1988-06-22 16:57:09 +00:00
printf(" INC\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" INE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" INL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINNl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" INN %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINNs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" INN %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrINNz(void)
{
1988-06-22 16:57:09 +00:00
printf(" INN\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrIORl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" IOR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrIORm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" IOR %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrIORs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" IOR %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrIORz(void)
{
1988-06-22 16:57:09 +00:00
printf(" IOR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLAEu(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAE %ld\n", Ut_arg() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLAEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLAEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LAE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLALs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LAL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLARl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLARm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LAR %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLARz(void)
{
1988-06-22 16:57:09 +00:00
printf(" LAR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDCl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDC %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDCl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDC %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDCm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDC %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LDE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDFl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDF %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLDLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LDL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLFRl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LFR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLFRm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LFR %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLFRs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LFR %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLILs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LIL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLIMz(void)
{
1988-06-22 16:57:09 +00:00
printf(" LIM\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLINl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIN %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLINl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LIN %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLINs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LIN %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLNIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" LNI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOCl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOC %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOCl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOC %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOCm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOC %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOCs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOC %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOFl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOF %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOFm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOF %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOIl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOI %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOIs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOI %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLORs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" LOR %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LOS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLOSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" LOS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLPBz(void)
{
1988-06-22 16:57:09 +00:00
printf(" LPB\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLPIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LPI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLPIl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LPI %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLXAl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LXA %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLXAm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LXA %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLXLl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LXL %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrLXLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" LXL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" MLF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" MLF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" MLF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" MLI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" MLI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" MLI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" MLU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMLUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" MLU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrMONz(void)
{
1988-06-22 16:57:09 +00:00
printf(" MON\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrNGFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" NGF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrNGFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" NGF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrNGIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" NGI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrNGIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" NGI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrNOPz(void)
{
1988-06-22 16:57:09 +00:00
printf(" NOP\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRCKl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RCK %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRCKm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RCK %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRCKz(void)
{
1988-06-22 16:57:09 +00:00
printf(" RCK\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRETl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RET %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRETm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RET %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRETs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" RET %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRMIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RMI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRMIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RMI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRMIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" RMI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRMUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" RMU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRMUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" RMU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrROLl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ROL %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrROLz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ROL\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRORl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ROR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRORz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ROR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrRTTz(void)
{
1988-06-22 16:57:09 +00:00
printf(" RTT\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSARl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SAR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSARm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SAR %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSARz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SAR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SBF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" SBF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SBF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SBI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SBI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SBI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SBS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SBS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SBU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSBUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SBU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDEu(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDE %ld\n", Ut_arg() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDFl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDF %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SDL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSDLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" SDL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSETl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SET %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSETs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" SET %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSETz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SET\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSIGz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SIG\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSILn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SIL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSILn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SIL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSILp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SIL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSILp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SIL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSILs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" SIL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSIMz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SIM\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSLIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SLI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSLIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SLI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSLIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SLI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSLUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SLU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSLUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SLU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSRIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SRI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSRIz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SRI\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSRUl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" SRU %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSRUz(void)
{
1988-06-22 16:57:09 +00:00
printf(" SRU\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" STE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTFl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STF %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTFm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STF %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTFs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" STF %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTIl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STI %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTIl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STI %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTIm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STI %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTIs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" STI %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" STL %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTRs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" STR %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTSl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" STS %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrSTSz(void)
{
1988-06-22 16:57:09 +00:00
printf(" STS\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTEQz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TEQ\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTGEz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TGE\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTGTz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TGT\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTLEz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TLE\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTLTz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TLT\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTNEz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TNE\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrTRPz(void)
{
1988-06-22 16:57:09 +00:00
printf(" TRP\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrXORl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" XOR %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrXORz(void)
{
1988-06-22 16:57:09 +00:00
printf(" XOR\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZEQl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZEQ %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZEQl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZEQ %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZEQs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZEQ %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZERl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZER %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZERs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZER %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZERz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ZER\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZGE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZGE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZGE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGTl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZGT %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGTl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZGT %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZGTs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZGT %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZLE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZLE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZLE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLTl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZLT %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLTl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZLT %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZLTs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZLT %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZNEl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZNE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZNEl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZNE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZNEs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZNE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZREl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRE %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZREl4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRE %ld\n", Lt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZREs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZRE %ld\n", St_arg(hob) * wfac);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRFl2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRF %ld\n", Lt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRFz(void)
{
1988-06-22 16:57:09 +00:00
printf(" ZRF\n");
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLm(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLn2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", Nt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLn4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", Nt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLp2(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", Pt_arg_2() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLp4(long arg)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", Pt_arg_4() * arg);
}
2019-03-17 14:42:00 +00:00
PRIVATE void PrZRLs(long hob, size wfac)
1988-06-22 16:57:09 +00:00
{
printf(" ZRL %ld\n", St_arg(hob) * wfac);
}
/* Original code! */
/******** Disassembly of Text Segment ********/
2019-03-17 14:42:00 +00:00
struct ep
{ /* procedure entry points */
1988-06-22 16:57:09 +00:00
int ep_idf;
ptr ep_ep;
size ep_nloc;
};
2019-03-17 14:42:00 +00:00
void disassemble(void)
1988-06-22 16:57:09 +00:00
{
register ptr low = 0;
register ptr high = DB;
register int idf;
register int cnt;
2019-03-17 14:42:00 +00:00
struct ep *ep; /* list of entry points */
1988-06-22 16:57:09 +00:00
/* collect the entry points */
2019-03-17 14:42:00 +00:00
ep = (struct ep *) Malloc((size) (NProc * sizeof(struct ep)),
"entry points");
for (idf = 0; idf < NProc; idf++)
{
1988-06-22 16:57:09 +00:00
register struct proc *pr = &proctab[idf];
2019-03-17 14:42:00 +00:00
1988-06-22 16:57:09 +00:00
ep[idf].ep_idf = idf;
ep[idf].ep_ep = pr->pr_ep;
ep[idf].ep_nloc = pr->pr_nloc;
}
/* a very naive sorting algorithm */
2019-03-17 14:42:00 +00:00
for (idf = 0; idf < NProc; idf++)
{
1988-06-22 16:57:09 +00:00
register int jdf;
2019-03-17 14:42:00 +00:00
for (jdf = 0; jdf < NProc; jdf++)
{
if ((ep[idf].ep_ep < ep[jdf].ep_ep) != (idf < jdf))
{
1988-06-22 16:57:09 +00:00
struct ep p;
p = ep[idf];
ep[idf] = ep[jdf];
ep[jdf] = p;
}
}
}
TC = low;
cnt = 0;
idf = 0;
2019-03-17 14:42:00 +00:00
while (TC < high)
{
if (cnt == 0)
{
1988-06-22 16:57:09 +00:00
printf("%lu\n", TC);
}
cnt = (cnt + 1) % 10;
2019-03-17 14:42:00 +00:00
if (idf < NProc && TC >= ep[idf].ep_ep)
{
1988-06-22 16:57:09 +00:00
register struct ep *p = &ep[idf];
2019-03-17 14:42:00 +00:00
printf("P[%d]+%lu: ; %ld %s\n", p->ep_idf, TC - p->ep_ep,
p->ep_nloc, p->ep_nloc == 1 ? "local" : "locals");
1988-06-22 16:57:09 +00:00
idf++;
}
2019-03-17 14:42:00 +00:00
do_pr_instr(nextTCbyte()); /* advances TC */
1988-06-22 16:57:09 +00:00
}
}
/* See switch.c */
2019-03-17 14:42:00 +00:00
PRIVATE void do_pr_instr(unsigned int opcode)
1988-06-22 16:57:09 +00:00
{
2019-03-17 14:42:00 +00:00
switch (opcode)
{
#include "PrCases" /* for the muscle */
2019-03-17 14:42:00 +00:00
case SECONDARY:
do_pr_instr(SEC_BASE + nextTCbyte());
break;
case TERTIARY:
do_pr_instr(TERT_BASE + nextTCbyte());
break;
default:
printf(">>>> bad opcode %u at PC = %lu <<<<\n", opcode, TC);
break;
1988-06-22 16:57:09 +00:00
}
}