#| -*-Scheme-*-
-$Id: dassm1.scm,v 1.1 1994/11/19 02:08:04 adams Exp $
+$Id: dassm1.scm,v 1.2 1994/11/22 04:01:23 adams Exp $
Copyright (c) 1988-1994 Massachusetts Institute of Technology
(fluid-let ((*unparser-radix* 16))
(disassembler/for-each-instruction instruction-stream
(lambda (offset instruction)
- (disassembler/write-instruction symbol-table
- offset
- (lambda () (display-instruction offset instruction)))))))
+ (disassembler/write-instruction
+ symbol-table
+ offset
+ (lambda () (display-instruction offset instruction)))))))
(define (disassembler/for-each-instruction instruction-stream procedure)
(let loop ((instruction-stream instruction-stream))
(error "disassembler/write-linkage-section: Unknown section kind"
kind)))
(1+ (+ index length)))))
-
\f
(define-integrable (variable-cache-name cache)
((ucode-primitive primitive-object-ref 2) cache 1))
closure-entry-bkpt-hook
interrupt-procedure/new
interrupt-continuation/new
+ interrupt-closure/new
quotient
remainder
- interpreter-call))
+ interpreter-call
+ profile-count
+ profile-count/2))
(define display-instruction
(let ((prev-instruction '())
(match? '(external-label . ?) instruction))
(define (offset->address field adjustment)
- (+ (+ offset disassembler/base-address) field adjustment))
+ (remainder
+ (+ (+ offset disassembler/base-address) field adjustment)
+ #x100000000))
(define (offset-targets)
(let ((res
(map (lambda (@pco.n)