File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 219219 (symbol? x)
220220 (integer? x)))
221221
222- (provide offset? register? instruction? label? 64-bit-integer? 32-bit-integer?)
222+ (provide offset? register? label? 64-bit-integer? 32-bit-integer?)
223223
224224(define offset? Offset?)
225225
240240 (nasm-label? x)
241241 (not (register? x))))
242242
243- #;
244- (define (instruction? x)
245- (or (Text? x)
246- (Data? x)
247- (Global? x)
248- (Label? x)
249- (Extern? x)
250- (Call? x)
251- (Ret? x)
252- (Mov? x)
253- (Add? x)
254- (Sub? x)
255- (Cmp? x)
256- (Jmp? x)
257- (Je? x)
258- (Jne? x)
259- (Jl? x)
260- (Jle? x)
261- (Jg? x)
262- (Jge? x)
263- (And? x)
264- (Or? x)
265- (Xor? x)
266- (Sal? x)
267- (Sar? x)
268- (Push? x)
269- (Pop? x)
270- (Lea? x)
271- (Div? x)
272- (Comment? x)
273- (Equ? x)
274- (Dd? x)
275- (Dq? x)
276- ))
243+ (provide (rename-out [a86:instruction? instruction?]))
244+ (define (a86:instruction? x)
245+ (or (instruction? x)
246+ (Comment? x)))
277247
278248;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
279249;; Instruction sequencing and program error checking
You can’t perform that action at this time.
0 commit comments