Difference between revisions of "Z80:Directives:LSFIRST/MSFIRST"
From Learn @ Cemetech
Jump to navigationJump to search (Initial automated import) |
(No difference)
|
Latest revision as of 08:28, 5 February 2016
Switches the compiler between big and little endian modes. Originally in TASM, copy in BRASS.
Syntax
.lsfirst is the same as .little.
.lsfirst .int $123456 ; Outputs $56, $34, $12.
.big is the same as .big.
.msfirst .int $123456 ; Outputs $12, $34, $56.
See Also