Ljzn / mini_forth

https://mini-forth.vercel.app
BSD 2-Clause "Simplified" License
17 stars 5 forks source link

specify "little" or "big" endian in binary input #17

Closed Ljzn closed 3 years ago

Ljzn commented 3 years ago
<<0xaabb:16/little>> --> <<0xbb, 0xaa>>

<<0xaabb:16/big>> --> <<0xaa, 0xbb>>
Ljzn commented 3 years ago

default is big endian

Ljzn commented 3 years ago

done