Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From an ergonomics perspective big-endian is the little-endian of stack based machines. Register truncation is the big reason why from an ergonomics perspective we prefer little-endian, but in stack based machines the equivalent is pop truncation. But the behavior between these is reversed between the two machine types. Big endian is the layout by which pop-ing one byte off the stack gives you the truncated number.


math is still done LSB-to-MSB




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: