Modifying constructor for opcode structures.
(change-opcode x [:op <op>] [:mode <mode>] [:reg <reg>] [:mod <mod>] [:r/m <r/m>] [:pfx <pfx>] [:rex <rex>] [:vex <vex>] [:evex <evex>] [:feat <feat>] [:superscripts <superscripts>] [:group <group>])
This is an often useful alternative to make-opcode.
We construct a new opcode structure that is a copy of
This is an ordinary
Macro:
(defmacro change-opcode (x &rest args) (std::change-aggregate 'opcode x args '((:op . opcode->op) (:mode . opcode->mode) (:reg . opcode->reg) (:mod . opcode->mod) (:r/m . opcode->r/m) (:pfx . opcode->pfx) (:rex . opcode->rex) (:vex . opcode->vex) (:evex . opcode->evex) (:feat . opcode->feat) (:superscripts . opcode->superscripts) (:group . opcode->group)) 'change-opcode 'remake-opcode))