From: sater Date: Thu, 12 Jul 1984 10:13:56 +0000 (+0000) Subject: added description of newplb macro. X-Git-Tag: release-5-5~6222 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3287090f5bc2153521566ea6656c911a69e86309;p=ack.git added description of newplb macro. Enlarged an example. --- diff --git a/doc/cg.doc b/doc/cg.doc index 1a7b003c7..b5d5d0bdf 100644 --- a/doc/cg.doc +++ b/doc/cg.doc @@ -466,9 +466,10 @@ and .DE will match for example .DS -\fBlol\fP 6 -\fBinc\fP -\fBstl\fP 6 +.ta 10m 20m 30m 40m 50m 60m +\fBlol\fP 6 \fBlol\fP -2 \fBlol\fP 4 +\fBinc\fP \fBinc\fP but \fInot\fP \fBinc\fP +\fBstl\fP 6 \fBstl\fP -2 \fBstl\fP -4 .DE A missing boolean expression evaluates to TRUE. .PP @@ -1013,6 +1014,9 @@ This is the translation of the EM \fBexa\fP and \fBexp\fP instructions. .IP in_ap(s) Same to import the symbol. Translation of \fBina\fP and \fBinp\fP. +.IP newplb(s) +Must print the definition of procedure label \fIs\fR. +If left undefined the newilb() macro is used instead. .IP newilb(s) Must print the definition of instruction label \fIs\fR. .IP newdlb(s) @@ -1083,6 +1087,7 @@ Example mach.h for the PDP-11 #define ex_ap(y) fprintf(codefile,"\et.globl %s\en",y) #define in_ap(y) /* nothing */ +#define newplb(x) fprintf(codefile,"%s:\en",x) #define newilb(x) fprintf(codefile,"%s:\en",x) #define newdlb(x) fprintf(codefile,"%s:\en",x) #define dlbdlb(x,y) fprintf(codefile,"%s=%s\en",x,y)