Machine code: Difference between revisions

no edit summary
m (added a note on CFFI)
No edit summary
Line 19:
 
=={{header|Common Lisp}}==
<lang lisp>;; This uses the Clozure common lisp foreign function interface implementation (note that by using the 'CFFI' library, one can apply this procedure portably in any lisp implementation; in this code however I chose to demonstrate only the implementation-dependent program)
;; in this code however I chose to demonstrate only the implementation-dependent program)
;; Allocate a memory pointer and poke the opcode into it
(defparameter ptr (ccl::malloc 9))