Lsfirst Msfirst
Table of Contents

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

big/little

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.