Legacy Plugin Collection

msfirst/lsfirst

Switches the compiler between big and little endian modes.

Remarks

This is based on a TASM directive.

Examples

.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