I'm learning about virtual machines and I came across this Wikipedia book thing, and it's really good. However, I'm at the section where the writer is explaining how he converts instructions such as:
loadi r0 #100
to
0x1064
And I have no idea how it works? Can someone please explain this to me, here's the link in question http://en.wikibooks.org/wiki/Creating_a_Virtual_Machine/Register_VM_in_C
If you scroll down to instruction codes he talks about it, but it doesn't make sense to me, can someone explain to me like I'm 5?