fork download
  1. (declaim (optimize speed (safety 1)))
  2.  
  3. (defun example/add (a b)
  4. (declare ((unsigned-byte 16) a b))
  5. (+ a b))
  6.  
  7. (describe #'example/add)
  8. (disassemble #'example/add)
Success #stdin #stdout 0.03s 33644KB
stdin
Standard input is empty
stdout
#<FUNCTION EXAMPLE/ADD>
  [compiled function]

Lambda-list: (A B)
Derived type: (FUNCTION (#1=(UNSIGNED-BYTE 16) #1#)
               (VALUES (MOD 131071) &OPTIONAL))
; disassembly for EXAMPLE/ADD
; Size: 11 bytes. Origin: #x226AFB3B
; 3B:       4801FA           ADD RDX, RDI                     ; no-arg-parsing entry point
; 3E:       488BE5           MOV RSP, RBP
; 41:       F8               CLC
; 42:       5D               POP RBP
; 43:       C3               RET
; 44:       CC10             BREAK 16                         ; Invalid argument count trap