Add .seek pseudo-op and fix .base pseudo-op in uni_ass(6) manual

This commit is contained in:
Tee-Kiah Chia 2021-03-20 17:03:12 +00:00
parent 64a74b4e09
commit 5d3ef4568a

View file

@ -234,6 +234,9 @@ The default is the word-size of the target machine.
.Pu ".space \fIexpression\fP" .Pu ".space \fIexpression\fP"
Allocate the indicated amount of bytes. Allocate the indicated amount of bytes.
The expression must be absolute. The expression must be absolute.
.Pu ".seek \fIexpression\fP"
Advance the current position to the value of the expression.
The expression must be absolute.
.Pu ".comm \fIname\fP,\fIexpression\fP" .Pu ".comm \fIname\fP,\fIexpression\fP"
Allocate the indicated amount of bytes and assign the location of the first Allocate the indicated amount of bytes and assign the location of the first
byte allocated to byte allocated to
@ -248,9 +251,8 @@ is extern, then assemblers leave definition of
to the linkeditor \fIled\fP(1). to the linkeditor \fIled\fP(1).
.Pu .sect \fIname\fP .Pu .sect \fIname\fP
section name definition. section name definition.
.Pu ".base \fIexpresssion\fP" .Pu ".base \fIexpression\fP"
Set the starting address of the first of the consecutive segments Set the starting address of the current section to the value of the expression.
(text) to the value of the expression.
The expression must be absolute. The expression must be absolute.
.Pu .assert \fIexpression\fP .Pu .assert \fIexpression\fP
assembly-time assertion checking. Stop with a fatal error message when assembly-time assertion checking. Stop with a fatal error message when