Basic constructor macro for command-instruction structures.
(make-command-instruction [:get <get>])
This is the usual way to construct command-instruction structures. It simply conses together a structure with the specified fields.
This macro generates a new command-instruction structure from scratch. See also change-command-instruction, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-command-instruction (&rest args) (std::make-aggregate 'command-instruction args '((:get)) 'make-command-instruction nil))
Function:
(defun command-instruction (get) (declare (xargs :guard (instructionp get))) (declare (xargs :guard t)) (let ((__function__ 'command-instruction)) (declare (ignorable __function__)) (b* ((get (mbe :logic (instruction-fix get) :exec get))) (cons :instruction (list get)))))