mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 03:02:06 +00:00
@@ -1946,14 +1946,14 @@ can be used to change some of the options during assembling from within the sour
|
||||
takes a comma-separated list of options as its argument:
|
||||
.Bd -literal -offset indent
|
||||
PUSHO
|
||||
OPT g.oOX, Wdiv, !L ; acts like command-line -g.oOX -Wdiv and omitting -L
|
||||
OPT g.oOX, Wdiv, L ; acts like command-line -g.oOX -Wdiv -L
|
||||
DW `..ooOOXX ; uses the graphics constant characters from OPT g
|
||||
PRINTLN $80000000/-1 ; prints a warning about division
|
||||
LD [$FF88], A ; encoded as LD, not LDH
|
||||
POPO
|
||||
DW `00112233 ; uses the default graphics constant characters
|
||||
PRINTLN $80000000/-1 ; no warning by default
|
||||
LD [$FF88], A ; optimized to use LDH if -L was passed
|
||||
LD [$FF88], A ; optimized to use LDH by default
|
||||
.Ed
|
||||
.Pp
|
||||
The options that OPT can modify are currently:
|
||||
|
||||
Reference in New Issue
Block a user