.\"
.\"Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd $Mdocdate$
.Dt Y86_OBJ_CODE 7
.Os
.Sh NAME
.Nm y86_obj_code
.Nd y86 object code reference
.Sh DESCRIPTION
.Sy y86 object code
is represented by ASCII text files ending in a
.Em \.yo
extension.
Each line in the program file is either a
.Sy comment record
or a
.Sy data record .
.Pp
A
.Sy comment record
is of the form:
.Bd -literal -compact
                      | comment here
.Ed
where columns 0-21 contain space characters
.Pq Sq " "
and column 22 contains a pipe character
.Pq Sq | .
Any characters beyond column 22 are considered part of a
comment and are ignored.
.Pp
A
.Sy data record
is of the form:
.Bd -literal -compact
  0x042: 0f000000     |
.Ed
where columns 0, 1, 8, and 21 (at least) contain space characters, columns 2-7
contain an address, columns 9 up to 20 contain zero to six bytes of data, and
column 22 contains a pipe character
.Pq Sq | .
Characters beyond column 22 are considered comment characters and are ignored.
.Pp

.Sh SEE ALSO
.Xr yess 1

.\"
.\"Copyright (c) 2020 Scott Bennett <scottb@fastmail.com>
.\"
.Dd $Mdocdate$
.Dt Y86_OBJ_CODE 7
.Os
.Sh NAME
.Nm y86_obj_code
.Nd y86 object code reference
.Sh DESCRIPTION
.Sy y86 object code
is represented by ASCII text files ending in a
.Em \.yo
extension.
Each line in the program file is either a
.Sy comment record
or a
.Sy data record .
.Pp
A
.Sy comment record
is of the form:
.Bd -literal -compact
                      | comment here
.Ed
where columns 0-21 contain space characters
.Pq Sq " "
and column 22 contains a pipe character
.Pq Sq | .
Any characters beyond column 22 are considered part of a
comment and are ignored.
.Pp
A
.Sy data record
is of the form:
.Bd -literal -compact
  0x042: 0f000000     |
.Ed
where columns 0, 1, 8, and 21 (at least) contain space characters, columns 2-7
contain an address, columns 9 up to 20 contain zero to six bytes of data, and
column 22 contains a pipe character
.Pq Sq | .
Characters beyond column 22 are considered comment characters and are ignored.
.Pp
.Sh EXAMPLES
.\" Add a few comment and data record examples.
.Sh SEE ALSO
.Xr yess 1

Add a note to document some examples
Add a note to document some examples
