1 eÿadf.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\05
\ 1#include "em_abs.h"
2 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
5 ! $Id: adf.s,v 1.4 1994/06/24 13:44:11 ceriel Exp $
22 \0adi.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 1\ 1#include "em_abs.h"
23 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
26 ! $Id: adi.s,v 1.4 1994/06/24 13:44:14 ceriel Exp $
38 2and.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\b\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
41 ! $Id: and.s,v 1.3 1994/06/24 13:44:16 ceriel Exp $
53 ass.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0!
\ 1#include "em_abs.h"
54 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
57 ! $Id: ass.s,v 1.4 1994/06/24 13:44:20 ceriel Exp $
70 bls.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0Í
\ 1#include "em_abs.h"
71 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
74 ! $Id: bls.s,v 1.4 1994/06/24 13:44:23 ceriel Exp $
81 movl (sp)+,r0 ! number of bytes in r0
82 movl (sp)+,r1 ! addresses in r1, r2
100 \0cff.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ÿ
\ 1#include "em_abs.h"
101 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
104 ! $Id: cff.s,v 1.4 1994/06/24 13:44:26 ceriel Exp $
134 \0cfi.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\92\ 1#include "em_abs.h"
135 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
138 ! $Id: cfi.s,v 1.4 1994/06/24 13:44:29 ceriel Exp $
159 cfu.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\8b\ 2#include "em_abs.h"
160 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
163 ! $Id: cfu.s,v 1.4 1994/06/24 13:44:32 ceriel Exp $
170 bicpsw $040 ! integer overflow traps must be ignored
183 bispsw r1 ! restore trap enable bit
197 \0cif.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0Ñ
\ 1#include "em_abs.h"
198 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
201 ! $Id: cif.s,v 1.4 1994/06/24 13:44:35 ceriel Exp $
225 cmand.s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 3\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
228 ! $Id: cmand.s,v 1.3 1994/06/24 13:44:42 ceriel Exp $
240 ,cmf.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0¸
\ 1#include "em_abs.h"
241 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
244 ! $Id: cmf.s,v 1.4 1994/06/24 13:44:45 ceriel Exp $
271 cmi.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0h
\ 1#include "em_abs.h"
272 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
275 ! $Id: cmi.s,v 1.4 1994/06/24 13:44:48 ceriel Exp $
294 cms.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0$
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
297 ! $Id: cms.s,v 1.3 1994/06/24 13:44:51 ceriel Exp $
312 cmu.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0i
\ 1#include "em_abs.h"
313 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
316 ! $Id: cmu.s,v 1.4 1994/06/24 13:44:54 ceriel Exp $
336 rcom.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 5\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
339 ! $Id: com.s,v 1.3 1994/06/24 13:44:57 ceriel Exp $
350 ucuf.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0@
\ 2#include "em_abs.h"
351 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
354 ! $Id: cuf.s,v 1.6 1994/06/24 13:45:09 ceriel Exp $
384 .data1 0200,0120,00,00,00,00,00,00
385 cui.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0F
\ 1#include "em_abs.h"
386 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
389 ! $Id: cui.s,v 1.6 1994/06/24 13:45:12 ceriel Exp $
404 cuu.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\1d\ 1#include "em_abs.h"
405 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
408 ! $Id: cuu.s,v 1.5 1994/06/24 13:45:15 ceriel Exp $
421 (dus.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0#
\ 1#include "em_abs.h"
422 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
425 ! $Id: dus.s,v 1.4 1994/06/24 13:45:19 ceriel Exp $
438 edvf.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\07
\ 1#include "em_abs.h"
439 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
442 ! $Id: dvf.s,v 1.4 1994/06/24 13:45:22 ceriel Exp $
460 dvi.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 2\ 1#include "em_abs.h"
461 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
464 ! $Id: dvi.s,v 1.4 1994/06/24 13:45:25 ceriel Exp $
476 dvu.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0í
\0#include "em_abs.h"
477 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
480 ! $Id: dvu.s,v 1.4 1994/06/24 13:45:28 ceriel Exp $
490 ldvu4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0p
\ 1#include "em_abs.h"
491 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
494 ! $Id: dvu4.s,v 1.4 1994/06/24 13:45:31 ceriel Exp $
513 exg.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0H
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
516 ! $Id: exg.s,v 1.3 1994/06/24 13:45:34 ceriel Exp $
533 fef.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0æ
\ 1#include "em_abs.h"
534 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
537 ! $Id: fef.s,v 1.7 1994/06/24 13:45:40 ceriel Exp $
570 fif.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0Ù
\ 1#include "em_abs.h"
571 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
574 ! $Id: fif.s,v 1.4 1994/06/24 13:45:43 ceriel Exp $
577 Ione: .data1 0200, 077, 00, 00, 00, 00, 00, 00
584 emodf r0,$0,Ione,r1,-(sp)
591 emodd r0,$0,Ione,r0,-(sp)
597 7gto.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ù
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
599 ! $Id: gto.s,v 1.4 1994/06/24 13:45:47 ceriel Exp $
603 ! On the stack is a pointer to a block containing :
604 ! 1. the new local base (ptr+8)
605 ! 2. the new stack pointer (ptr+4)
606 ! 3. the new program counter (ptr)
609 movl 4(r2),sp ! Store new stack pointer
610 pushl (r2) ! Push target address
611 pushl 8(r2) ! Push new local base
612 jsb .strlb ! Store in fp, compute ap
615 inn.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0?
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
618 ! $Id: inn.s,v 1.3 1994/06/24 13:45:51 ceriel Exp $
624 ashl $3,r0,r2 ! nr of bits in r2
635 eior.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ü
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
638 ! $Id: ior.s,v 1.3 1994/06/24 13:45:55 ceriel Exp $
649 los.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0å
\ 1#include "em_abs.h"
650 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
653 ! $Id: los.s,v 1.4 1994/06/24 13:46:01 ceriel Exp $
663 movl (sp)+,r0 ! nbytes in r0
664 movl (sp)+,r1 ! address in r1
681 flxa.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0Ö
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
684 ! $Id: lxa.s,v 1.3 1994/06/24 13:46:07 ceriel Exp $
687 jsb .lxl ! Find local base
688 jsb .lpb ! Convert to argument base
690 lxl.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\b\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
693 ! $Id: lxl.s,v 1.3 1994/06/24 13:46:11 ceriel Exp $
695 ! nlevels in r0 (>=2)
706 mlf.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\07
\ 1#include "em_abs.h"
707 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
710 ! $Id: mlf.s,v 1.4 1994/06/24 13:46:14 ceriel Exp $
727 0mli.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 2\ 1#include "em_abs.h"
728 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
731 ! $Id: mli.s,v 1.4 1994/06/24 13:46:18 ceriel Exp $
743 ngf.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\05
\ 1#include "em_abs.h"
744 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
747 ! $Id: ngf.s,v 1.4 1994/06/24 13:46:27 ceriel Exp $
764 tngi.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 1\ 1#include "em_abs.h"
765 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
768 ! $Id: ngi.s,v 1.4 1994/06/24 13:46:30 ceriel Exp $
780 dnop.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\1e\ 1#include "em_abs.h"
781 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
784 ! $Id: nop.s,v 1.4 1994/06/24 13:46:33 ceriel Exp $
796 print.s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\86\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
800 ! $Id: print.s,v 1.6 1994/06/24 13:46:39 ceriel Exp $
822 rmi.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0;
\ 1#include "em_abs.h"
823 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
826 ! $Id: rmi.s,v 1.4 1994/06/24 13:46:49 ceriel Exp $
842 prmu.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ü
\0#include "em_abs.h"
843 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
846 ! $Id: rmu.s,v 1.4 1994/06/24 13:46:52 ceriel Exp $
858 rmu4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0U
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
861 ! $Id: rmu4.s,v 1.3 1994/06/24 13:46:55 ceriel Exp $
878 srol.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0*
\ 1#include "em_abs.h"
879 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
882 ! $Id: rol.s,v 1.4 1994/06/24 13:46:59 ceriel Exp $
895 ror.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\01
\ 1#include "em_abs.h"
896 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
899 ! $Id: ror.s,v 1.4 1994/06/24 13:47:02 ceriel Exp $
912 Isbf.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\07
\ 1#include "em_abs.h"
913 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
916 ! $Id: sbf.s,v 1.4 1994/06/24 13:47:08 ceriel Exp $
933 bsbi.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\ 2\ 1#include "em_abs.h"
934 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
937 ! $Id: sbi.s,v 1.4 1994/06/24 13:47:11 ceriel Exp $
949 sbs.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ù
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
952 ! $Id: sbs.s,v 1.3 1994/06/24 13:47:14 ceriel Exp $
961 jcii.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\95\ 1#include "em_abs.h"
962 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
965 ! $Id: cii.s,v 1.4 1994/06/24 13:44:39 ceriel Exp $
987 rset.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\9b\ 1#include "em_abs.h"
988 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
991 ! $Id: set.s,v 1.4 1994/06/24 13:47:17 ceriel Exp $
997 movl (sp)+,r1 ! bitnumber in r1
1003 ashl $3,r0,r2 ! number of bits in r2
1013 sig.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ã
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1016 ! $Id: sig.s,v 1.3 1994/06/24 13:47:21 ceriel Exp $
1024 1sim.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0k
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1027 ! $Id: sim.s,v 1.3 1994/06/24 13:47:24 ceriel Exp $
1031 movl (sp)+,.trpim ! store ignore mask
1032 bbc $5,.trpim,I3 ! floating underflow to be ignored?
1036 bispsw $0100 ! enable underflow trap
1039 sli.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0 \ 1#include "em_abs.h"
1040 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1043 ! $Id: sli.s,v 1.4 1994/06/24 13:47:27 ceriel Exp $
1057 sri.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0-
\ 1#include "em_abs.h"
1058 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1061 ! $Id: sri.s,v 1.4 1994/06/24 13:47:30 ceriel Exp $
1076 bsru.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0j
\ 1#include "em_abs.h"
1077 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1080 ! $Id: sru.s,v 1.4 1994/06/24 13:47:34 ceriel Exp $
1097 strhp.s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\84\ 1#include "em_abs.h"
1098 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1101 ! $Id: strhp.s,v 1.9 1994/06/24 13:47:38 ceriel Exp $
1122 sts.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ê
\ 1#include "em_abs.h"
1123 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1126 ! $Id: sts.s,v 1.4 1994/06/24 13:47:44 ceriel Exp $
1136 movl (sp)+,r0 ! number of bytes in r0
1137 movl (sp)+,r1 ! address in r1
1155 xar.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\84\ 1#include "em_abs.h"
1156 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1161 ! $Id: xar.s,v 1.4 1994/06/24 13:47:50 ceriel Exp $
1182 xor.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0ü
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1185 ! $Id: xor.s,v 1.3 1994/06/24 13:47:54 ceriel Exp $
1196 aar4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\1c\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1199 ! $Id: aar4.s,v 1.3 1994/06/24 13:44:07 ceriel Exp $
1204 movl 8(r0),r1 ! elementsize in r1
1209 lar4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0É
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1212 ! $Id: lar4.s,v 1.3 1994/06/24 13:45:58 ceriel Exp $
1237 (sar4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0À
\ 1.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1240 ! $Id: sar4.s,v 1.3 1994/06/24 13:47:05 ceriel Exp $
1265 csx.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\00
\ 1#include "em_abs.h"
1266 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1270 ! $Id: csx.s,v 1.4 1994/06/24 13:45:06 ceriel Exp $
1286 csa4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0¸
\ 1#include "em_abs.h"
1287 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1290 ! $Id: csa4.s,v 1.4 1994/06/24 13:45:00 ceriel Exp $
1294 movl (sp)+,r0 ! descriptor address
1295 movl (sp)+,r1 ! index
1296 movl (r0)+,r2 ! default
1309 csb4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0G
\ 2#include "em_abs.h"
1310 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1313 ! $Id: csb4.s,v 1.4 1994/06/24 13:45:03 ceriel Exp $
1317 movl (sp)+,r0 ! descriptor address
1318 movl (sp)+,r1 ! index
1320 movl (r0)+,r4 ! default
1321 movl (r0)+,r2 ! number of cases
1328 tstl (r0)+ ! useless address
1335 movl (sp)+,r4 ! Restore r4
1340 :rck.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0í
\0#include "em_abs.h"
1341 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1344 ! $Id: rck.s,v 1.4 1994/06/24 13:46:43 ceriel Exp $
1354 rck4.s
\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0`
\ 1#include "em_abs.h"
1355 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1358 ! $Id: rck4.s,v 1.5 1994/06/24 13:46:46 ceriel Exp $
1364 cmpl (sp),(r0) ! compare lower bound
1366 cmpl (sp),4(r0) ! compare upper bound
1374 lpb.s
\0\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0\94\ 3.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1377 ! $Id: lpb.s,v 1.4 1994/06/24 13:46:04 ceriel Exp $
1378 ! special version to work with A68S, by CHL
1379 ! compute AB, given LB
1386 movl 4(r0),r1 ! mask for saved registers
1387 addl2 $24,r0 ! position of AB if no registers saved
1388 movl $16,r2 ! position of first bit to test
1390 subl3 r2,$28,r3 ! remaining size of mask
1391 ffs r2,r3,r1,r2 ! find first bit set in mask
1392 beql I3 ! no more bits set
1393 addl2 $4,r0 ! for each saved register
1397 extzv $30,$2,r1,r2 ! Now find out about the stack alignment
1399 addl2 r2,r0 ! add alignment
1401 strlb.s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0y
\ 3.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1404 ! $Id: strlb.s,v 1.4 1994/06/24 13:47:42 ceriel Exp $
1405 ! revised version by CHL
1406 ! Store the value that is on the stack in fp.
1412 movl $20,ap ! Compute argumentbase from local base.
1413 ! Distance is 5 longwords + the number of
1415 movl 4(fp),r3 ! mask for saved registers
1416 movl $16,r2 ! position of first bit to test
1418 subl3 r2,$28,r1 ! remaining size of mask
1419 ffs r2,r1,r3,r2 ! find first bit set in mask
1420 beql I5 ! no more bits set
1421 addl2 $4,ap ! for each saved register
1425 extzv $14,$2,6(fp),r3 ! Now find out about the stack alignment
1427 addl2 r3,ap ! add alignment
1430 mon.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0£
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1433 ! $Id: mon.s,v 1.8 1994/06/24 13:46:22 ceriel Exp $
1439 tfat.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\0¾
\0.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1442 ! $Id: fat.s,v 1.5 1994/06/24 13:45:37 ceriel Exp $
1449 trp.s
\0s
\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤
\ 1\0\07
\ 4.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
1451 ! $Id: trp.s,v 1.9 1994/06/24 13:47:47 ceriel Exp $
1459 bgequ I1 ! a trapnumber >= 16 cannot be ignored
1464 pushr $017776 ! save registers
1465 pushl r0 ! trapnumber on stack
1467 beql I2 ! is there a user defined traphandler?
1469 calls $1,(r0) ! if so, call it
1470 popr $017776 ! restore registers
1475 ! Put the (octal) trapnumber in the zeroes in Iemes[].
1477 movl $Iemesend-9,r1 ! Addres after last '0'.
1478 movl $5,r2 ! Max number of digits.
1479 movl (sp),r0 ! Trap number in r0.
1481 bicw3 $0177770,r0,r3 ! Lower 3 bits form lower octal digit.
1482 bisb2 r3,-(r1) ! Put them in the '0'.
1483 ashl $-3,r0,r0 ! Shift the 3 bits off.
1485 pushl $Iemesend-Iemes
1492 .data1 'E','M',' ','t','r','a','p',' ','0','0','0','0','0',' ','(','o','c','t','a','l',')',0xa