[Template fetch failed for http://spivey.oriel.ox.ac.uk/corner/Template:Sitenotice?action=render: HTTP 404]
Keiko assembly language: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Syntax== ===Files=== file: heading body_opt heading: module-dir imports_opt endhdr-dir module-dir: MODULE ident checksum linecnt imports: import-d...") |
(→Files) |
||
Line 24: | Line 24: | ||
phrase body | phrase body | ||
phrase: | phrase: | ||
directive | directive | ||
procedure | procedure | ||
directive: | ===Directives=== | ||
directive: | |||
DEFINE | |||
WORD | |||
LONG | |||
FLOAT | |||
DOUBLE | |||
STRING | |||
GLOVAR | |||
PRIMDEF | |||
===Procedures=== | |||
procedure: | |||
proc-directive body_opt end-directive | |||
proc-directive: | |||
PROC ident 0 0 0 | |||
end-directive: | |||
END | |||
LABEL | LABEL |
Revision as of 18:05, 11 May 2022
Syntax
Files
file: heading body_opt
heading: module-dir imports_opt endhdr-dir
module-dir: MODULE ident checksum linecnt
imports: import-dir import-dir imports
import-dir: IMPORT ident checksum
endhdr-dir: ENDHDR
body: phrase phrase body
phrase: directive procedure
Directives
directive: DEFINE WORD LONG FLOAT DOUBLE STRING GLOVAR PRIMDEF
Procedures
procedure: proc-directive body_opt end-directive
proc-directive: PROC ident 0 0 0
end-directive: END
LABEL CONST GLOBAL FCONST DCONST QCONST STKMAP LINE