Mastodon Feed: Post

Mastodon Feed

ireneista@irenes.space ("Irenes (many)") wrote:

Evocation is a Forth dialect, so things in it happen in reverse order, like RPN on a calculator. for example, in Evocation-assembly we defined a word mov-reg64-reg64 which is a move instruction, and you call it like

:rbx :rax mov-reg64-reg64

and what that means is, take the value from the register Intel calls "rbx", and copy it into the register Intel calls "rax". the source register comes before the destination register in our notation.