generated itables no longer in RCS; avoid overflow in app.codes.pr
This commit is contained in:
parent
c2dc6da49f
commit
916a65f5d6
2 changed files with 9 additions and 5 deletions
|
@ -1,11 +1,15 @@
|
||||||
|
HOME=../..
|
||||||
|
|
||||||
head: doc.pr
|
head: doc.pr
|
||||||
|
|
||||||
NROFF=nroff
|
NROFF=nroff
|
||||||
TBL=tbl
|
TBL=tbl
|
||||||
|
|
||||||
FILES = macr.nr title.nr intro.nr mem.nr ispace.nr dspace.nr mapping.nr \
|
FILES = macr.nr title.nr intro.nr mem.nr ispace.nr dspace.nr mapping.nr \
|
||||||
types.nr descr.nr env.nr traps.nr mach.nr assem.nr \
|
types.nr descr.nr env.nr traps.nr mach.nr assem.nr \
|
||||||
app.int.nr app.codes.nr app.exam.nr cont.nr
|
app.int.nr app.codes.nr app.exam.nr cont.nr
|
||||||
IOP=../../util/ass/ip_spec.t
|
|
||||||
|
IOP=$(HOME)/util/ass/ip_spec.t# # to construct itables from
|
||||||
|
|
||||||
doc.pr: $(FILES) itables em.i Makefile
|
doc.pr: $(FILES) itables em.i Makefile
|
||||||
$(TBL) $(FILES) | $(NROFF) >doc.pr
|
$(TBL) $(FILES) | $(NROFF) >doc.pr
|
||||||
|
@ -20,6 +24,8 @@ pr:
|
||||||
@make "NROFF="$(NROFF) TBL=$(TBL) doc.pr >makepr.out 2>&1
|
@make "NROFF="$(NROFF) TBL=$(TBL) doc.pr >makepr.out 2>&1
|
||||||
@cat doc.pr
|
@cat doc.pr
|
||||||
|
|
||||||
|
app.codes.pr: app.codes.nr itables
|
||||||
|
|
||||||
itables: $(IOP) ip.awk
|
itables: $(IOP) ip.awk
|
||||||
awk -f ip.awk $(IOP) | sed 's/-/\\-/g' | $(TBL) >itables
|
awk -f ip.awk $(IOP) | sed 's/-/\\-/g' | $(TBL) >itables
|
||||||
|
|
||||||
|
@ -27,4 +33,4 @@ itables: $(IOP) ip.awk
|
||||||
.nr.pr: ; $(TBL) macr.nr $*.nr | $(NROFF) >$@
|
.nr.pr: ; $(TBL) macr.nr $*.nr | $(NROFF) >$@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f doc.pr itables
|
rm -f *.pr itables *.out
|
||||||
|
|
|
@ -97,9 +97,7 @@ Escaped opcode 145 is used for ZER.
|
||||||
The interpreter opcode table:
|
The interpreter opcode table:
|
||||||
.N 1
|
.N 1
|
||||||
.IS 3
|
.IS 3
|
||||||
.DS B
|
|
||||||
.so itables
|
.so itables
|
||||||
.DE 0
|
|
||||||
.IE
|
.IE
|
||||||
.P
|
.P
|
||||||
The table above results in the following dispatch tables.
|
The table above results in the following dispatch tables.
|
||||||
|
@ -138,7 +136,7 @@ shortie with argument divided by the wordsize
|
||||||
mini with <num> as argument
|
mini with <num> as argument
|
||||||
.PT .<num>W
|
.PT .<num>W
|
||||||
mini with <num>*wordsize as argument
|
mini with <num>*wordsize as argument
|
||||||
.PE 3
|
.PE 1
|
||||||
<num> is a possibly negative integer.
|
<num> is a possibly negative integer.
|
||||||
.VS 1 1
|
.VS 1 1
|
||||||
.IE
|
.IE
|
||||||
|
|
Loading…
Reference in a new issue