Raymond Toy pushed to branch issue-97-define-ud2-inst at cmucl / cmucl
Commits:
-
9c5cdf07
by Raymond Toy at 2021-05-20T21:18:44-07:00
1 changed file:
Changes:
... | ... | @@ -2161,15 +2161,14 @@ |
2161 | 2161 |
(define-instruction int (segment number)
|
2162 | 2162 |
(:declare (type (unsigned-byte 8) number))
|
2163 | 2163 |
(:printer byte-imm ((op #b11001101)))
|
2164 |
- (:printer byte ((op #b11001100))
|
|
2165 |
- `(:name 3))
|
|
2166 |
- (:emitter
|
|
2167 |
- (etypecase number
|
|
2168 |
- ((member 3)
|
|
2169 |
- (emit-byte segment #b11001100))
|
|
2170 |
- ((unsigned-byte 8)
|
|
2171 |
- (emit-byte segment #b11001101)
|
|
2172 |
- (emit-byte segment number)))))
|
|
2164 |
+ (:emitter
|
|
2165 |
+ (emit-byte segment #b11001101)
|
|
2166 |
+ (emit-byte segment number)))
|
|
2167 |
+ |
|
2168 |
+(define-instruction int3 (segment)
|
|
2169 |
+ (:printer byte ((op #b11001100)))
|
|
2170 |
+ (:emitter
|
|
2171 |
+ (emit-byte segment #b11001100)))
|
|
2173 | 2172 |
|
2174 | 2173 |
(define-instruction into (segment)
|
2175 | 2174 |
(:printer byte ((op #b11001110)))
|