Skip to content

Commit

Permalink
chore: update pseudo-ops
Browse files Browse the repository at this point in the history
  • Loading branch information
d0p1s4m4 committed Dec 26, 2023
1 parent a67d9f0 commit 100d529
Showing 1 changed file with 53 additions and 22 deletions.
75 changes: 53 additions & 22 deletions src/main.texi
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ Registers are big endian
@item expression
@tab TODO

@item expression (base register)
@tab TODO

@item relocatable-symbol
@tab TODO

@end multitable

@node Exceptions
Expand All @@ -133,53 +139,78 @@ TODO
@tab integer
@tab TODO

@item @code{.file}
@tab "filename"
@item @code{.ascii}
@tab string [,string]...
@tab TODO

@item @code{.globl}
@tab symbol_name
@item @code{.asciiz}
@tab string [,string]...
@tab TODO

@item @code{.local}
@tab symbol_name
@item @code{.bss}
@tab
@tab TODO

@item @code{.section}
@tab @{.text,.data,.rodata,.bss@}
@item @code{.byte}
@tab expression [, expression]*
@tab 8-bit comma separated words

@item @code{.data}
@tab
@tab TODO

@item @code{.string}
@tab "string"
@item @code{.dword}
@tab expression [, expression]*
@tab 64-bit comma separated words

@item @code{.extern}
@tab symbol_name
@tab TODO

@item @code{.asciz}
@tab "string"
@item @code{.file}
@tab "filename"
@tab TODO

@item @code{.byte}
@tab expression [, expression]*
@tab 8-bit comma separated words
@item @code{.globl}
@tab symbol_name
@tab TODO

@item @code{.half}
@tab expression [, expression]*
@tab 16-bit comma separated words

@item @code{.local}
@tab symbol_name
@tab TODO

@item @code{.long}
@tab expression [, expression]*
@tab 32-bit comma separated words

@item @code{.rodata}
@tab
@tab TODO

@item @code{.section}
@tab @{.text,.data,.rodata,.bss@}
@tab TODO

@item @code{.short}
@tab expression [, expression]*
@tab 16-bit comma separated words

@item @code{.word}
@tab expression [, expression]*
@tab 32-bit comma separated words
@item @code{.size}
@tab name, expression
@tab TODO

@item @code{.long}
@item @code{.text}
@tab
@tab TODO

@item @code{.word}
@tab expression [, expression]*
@tab 32-bit comma separated words

@item @code{.quad}
@tab expression [, expression]*
@tab 64-bit comma separated words

@end multitable

Expand Down

0 comments on commit 100d529

Please sign in to comment.