top | item 41804210

(no title)

SolarNet | 1 year ago

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.

discuss

order

dmitrygr|1 year ago

math is still done LSB-to-MSB