Raymond Toy pushed to branch issue-97-define-ud2-inst at cmucl / cmucl
Commits: 73e864e8 by Raymond Toy at 2021-03-20T09:09:29-07:00 Fix disassembly of break inst
The code field for the break instruction had the wrong byte position. It was (byte 8 8), but it should be (byte 8 16).
`(disassemble 'lisp::halt)` works now.
- - - - -
1 changed file:
- src/compiler/x86/insts.lisp
Changes:
===================================== src/compiler/x86/insts.lisp ===================================== @@ -2064,7 +2064,7 @@
(disassem:define-instruction-format (break 24 :default-printer '(:name :tab code)) (op :fields (list (byte 8 0) (byte 8 8)) :value '(#xb00001111 #b00001011)) - (code :field (byte 8 8))) + (code :field (byte 8 16)))
(define-emitter emit-break-inst 24 (byte 8 0) (byte 8 8) (byte 8 16))
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/73e864e8ddcef408af202f97...