3 ms·
>- ability to use assembly and translate said assembly into the high-level language Can you elaborate as to exactly what you mean here?
by JonnieCache 14y ago
>- ability to use assembly and translate said assembly into the high-level language
Can you elaborate as to exactly what you mean here?
- pnathan 14y agoIn C, I can do something like this (pardon my rusty x86/intel syntax): int variable = 0xdeadbeef; __asm { ldw eax, $(variable) # load from variable int 0x3 # trip interrupt.. maybe read from a IO port or something. stw $(variable), $eax # get result, put into C variable } return variable; This allows me to express certain things to the computer that are outside the range of expressibility of the language model. What I would like to be able to do in Lisp is to execute the semantic equivalent of the above code fragment. I've considered hacking it into SBCL, but I have had higher priorities so far.