head 1.2; access; symbols perseant-exfatfs-base-20250801:1.2 perseant-exfatfs-base-20240630:1.2 cjep_sun2x:1.2.0.44 cjep_sun2x-base:1.2 cjep_staticlib_x-base1:1.2 cjep_staticlib_x:1.2.0.42 cjep_staticlib_x-base:1.2 phil-wifi-20200421:1.2 phil-wifi-20200411:1.2 phil-wifi-20200406:1.2 pgoyette-compat-merge-20190127:1.2 pgoyette-compat-20190127:1.2 pgoyette-compat-20190118:1.2 pgoyette-compat-1226:1.2 pgoyette-compat-1126:1.2 pgoyette-compat-1020:1.2 pgoyette-compat-0930:1.2 pgoyette-compat-0906:1.2 pgoyette-compat-0728:1.2 pgoyette-compat-0625:1.2 pgoyette-compat-0521:1.2 pgoyette-compat-0502:1.2 pgoyette-compat-0422:1.2 pgoyette-compat-0415:1.2 pgoyette-compat-0407:1.2 pgoyette-compat-0330:1.2 pgoyette-compat-0322:1.2 pgoyette-compat-0315:1.2 pgoyette-compat:1.2.0.40 pgoyette-compat-base:1.2 perseant-stdc-iso10646:1.2.0.38 perseant-stdc-iso10646-base:1.2 prg-localcount2-base3:1.2 prg-localcount2-base2:1.2 prg-localcount2-base1:1.2 prg-localcount2:1.2.0.36 prg-localcount2-base:1.2 pgoyette-localcount-20170426:1.2 bouyer-socketcan-base1:1.2 pgoyette-localcount-20170320:1.2 bouyer-socketcan:1.2.0.34 bouyer-socketcan-base:1.2 pgoyette-localcount-20170107:1.2 pgoyette-localcount-20161104:1.2 localcount-20160914:1.2 pgoyette-localcount-20160806:1.2 pgoyette-localcount-20160726:1.2 pgoyette-localcount:1.2.0.32 pgoyette-localcount-base:1.2 netbsd-5-2-3-RELEASE:1.2 netbsd-5-1-5-RELEASE:1.2 yamt-pagecache-base9:1.2 yamt-pagecache-tag8:1.2 tls-earlyentropy:1.2.0.28 tls-earlyentropy-base:1.2 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2 riastradh-drm2-base3:1.2 netbsd-5-2-2-RELEASE:1.2 netbsd-5-1-4-RELEASE:1.2 netbsd-5-2-1-RELEASE:1.2 netbsd-5-1-3-RELEASE:1.2 agc-symver:1.2.0.30 agc-symver-base:1.2 tls-maxphys-base:1.2 yamt-pagecache-base8:1.2 netbsd-5-2:1.2.0.26 yamt-pagecache-base7:1.2 netbsd-5-2-RELEASE:1.2 netbsd-5-2-RC1:1.2 yamt-pagecache-base6:1.2 yamt-pagecache-base5:1.2 yamt-pagecache-base4:1.2 netbsd-5-1-2-RELEASE:1.2 netbsd-5-1-1-RELEASE:1.2 yamt-pagecache-base3:1.2 yamt-pagecache-base2:1.2 yamt-pagecache:1.2.0.24 yamt-pagecache-base:1.2 bouyer-quota2-nbase:1.2 bouyer-quota2:1.2.0.22 bouyer-quota2-base:1.2 matt-nb5-pq3:1.2.0.20 matt-nb5-pq3-base:1.2 netbsd-5-1:1.2.0.18 netbsd-5-1-RELEASE:1.2 netbsd-5-1-RC4:1.2 netbsd-5-1-RC3:1.2 netbsd-5-1-RC2:1.2 netbsd-5-1-RC1:1.2 netbsd-5-0-2-RELEASE:1.2 netbsd-5-0-1-RELEASE:1.2 jym-xensuspend-nbase:1.2 netbsd-5-0:1.2.0.16 netbsd-5-0-RELEASE:1.2 netbsd-5-0-RC4:1.2 netbsd-5-0-RC3:1.2 netbsd-5-0-RC2:1.2 jym-xensuspend:1.2.0.14 jym-xensuspend-base:1.2 netbsd-5-0-RC1:1.2 netbsd-5:1.2.0.12 netbsd-5-base:1.2 mjf-devfs2:1.2.0.10 mjf-devfs2-base:1.2 yamt-pf42-base4:1.2 yamt-pf42-base3:1.2 hpcarm-cleanup-nbase:1.2 yamt-pf42-base2:1.2 yamt-pf42:1.2.0.8 yamt-pf42-base:1.2 keiichi-mipv6:1.2.0.6 keiichi-mipv6-base:1.2 cube-autoconf:1.2.0.4 cube-autoconf-base:1.2 hpcarm-cleanup:1.2.0.2 hpcarm-cleanup-base:1.2 netbsd-1-6-PATCH002-RELEASE:1.1.1.2 netbsd-1-6-PATCH002:1.1.1.2 netbsd-1-6-PATCH002-RC4:1.1.1.2 netbsd-1-6-PATCH002-RC3:1.1.1.2 netbsd-1-6-PATCH002-RC2:1.1.1.2 netbsd-1-6-PATCH002-RC1:1.1.1.2 netbsd-1-6-PATCH001:1.1.1.2 netbsd-1-6-PATCH001-RELEASE:1.1.1.2 netbsd-1-6-PATCH001-RC3:1.1.1.2 binutils-2-13-2-1:1.1.1.2 netbsd-1-6-PATCH001-RC2:1.1.1.2 netbsd-1-6-PATCH001-RC1:1.1.1.2 fvdl_fs64_base:1.1.1.2 netbsd-1-6-RELEASE:1.1.1.2 netbsd-1-6-RC3:1.1.1.2 netbsd-1-6-RC2:1.1.1.2 netbsd-1-6-RC1:1.1.1.2 netbsd-1-6:1.1.1.2.0.2 netbsd-1-6-base:1.1.1.2 binutils-2-11-2:1.1.1.2 binutils-2-11:1.1.1.2 binutils-2-10-1:1.1.1.1 binutils-2-10:1.1.1.1 FSF:1.1.1; locks; strict; comment @# @; expand @o@; 1.2 date 2003.12.04.02.00.45; author mrg; state dead; branches; next 1.1; 1.1 date 2000.07.26.00.24.16; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.07.26.00.24.16; author tv; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2001.04.23.12.27.55; author tv; state Exp; branches; next ; desc @@ 1.2 log @delete binutils 2.13 sources. @ text @! .MACRO SUM FROM=0, TO=9 ! ; \FROM \TO ! MOV R\FROM,R10 !COUNT .ASSIGNA \FROM+1 ! .AWHILE \&COUNT LE \TO ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! .ENDM ! ! SUM 0,5 ! ; 0 5 ; 0 5 ! MOV R0,R10 MOV R0,R10 !COUNT .ASSIGNA 0+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R1,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R2,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R3,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R4,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R5,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! SUM TO=5 ! ; 0 5 ; 0 5 ! MOV R0,R10 MOV R0,R10 !COUNT .ASSIGNA 0+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R1,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R2,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R3,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R4,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R5,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! SUM FROM=2, TO=5 ! ; 2 5 ; 2 5 ! MOV R2,R10 MOV R2,R10 !COUNT .ASSIGNA 2+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R3,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R4,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! MOV R\&COUNT,R10 MOV R5,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AWHILE \&COUNT LE 5 ! MOV R\&COUNT,R10 !COUNT .ASSIGNA \&COUNT+1 ! .AENDW ! ! !; hi this is a comment ; hi this is a comment ! .MACRO BACK_SLASH_SET ! \(MOV #"\",R0) ! .ENDM ! BACK_SLASH_SET ! MOV #"\",R0 MOV #"\",R0 ! .MACRO COMM ! bar ; this comment will get copied out ! foo \; this one will get dropped ! .ENDM ! COMM ! bar ; this comment will get copied out bar ; this comment will get copied out ! foo \; this one will get dropped foo \; this one will get dropped ! BACK_SLASH_SET ! MOV #"\",R0 MOV #"\",R0 ! .MACRO PLUS2 ! ADD #1,R\&V1 ! .SDATA "\&V'1" ! .ENDM !V .ASSIGNC "R" !V1 .ASSIGNA 1 ! PLUS2 ! ADD #1,R\&V1 ADD #1,R1 ! .SDATA "\&V'1" .byte 82,49 ! .MACRO PLUS1 P,P1 ! ADD #1,\P1 ! .SDATA "\P'1" ! .ENDM ! PLUS1 R,R1 ! ADD #1,R1 ADD #1,R1 ! .SDATA "R1" .byte 82,49 ! ! .MACRO SUM P1 ! MOV R0,R10 ! ADD R1,R10 ! ADD R2,R10 ! \P1 ! ADD R3,R10 ! .ENDM ! ! SUM .EXITM ! MOV R0,R10 MOV R0,R10 ! ADD R1,R10 ADD R1,R10 ! ADD R2,R10 ADD R2,R10 ! .EXITM ! ! .MACRO foo bar=a default=b ! \bar ! \default ! bar ! default ! .ENDM ! foo default=dog bar=cat ! cat cat ! dog dog ! bar bar ! default default ! foo X Y ! X X ! Y Y ! bar bar ! default default ! foo ! a a ! b b ! bar bar ! default default ! foo bar=cat default=dog ! cat cat ! dog dog ! bar bar ! default default ! ! ! .MACRO foo bar ! HI ! HI \bar ! HI ! .ENDM ! ! foo 1 ! HI HI ! HI 1 HI 1 ! HI HI ! foo 123 ! HI HI ! HI 123 HI 123 ! HI HI ! foo 1 2 3 4 ! foo ! HI HI ! HI HI ! HI HI ! ! ! .MACRO PUSH Rn ! MOV.L \Rn,@@-r15 ! .ENDM ! PUSH R0 ! MOV.L R0,@@-r15 MOV.L R0,@@-r15 ! PUSH R1 ! MOV.L R1,@@-r15 MOV.L R1,@@-r15 ! ! ! .MACRO RES_STR STR, Rn ! MOV.L #str\@@,\Rn ! BRA end_str\@@ ! NOP !str\@@ .SDATA "\STR" ! .ALIGN 2 !end_str\@@ ! .ENDM ! ! RES_STR "ONE",R0 ! MOV.L #str00018,R0 MOV.L #str00018,R0 ! BRA end_str00018 BRA end_str00018 ! NOP NOP !str00018 .SDATA "ONE" str00018: .byte 79,78,69 ! .ALIGN 2 .align 2 !end_str00018 end_str00018: ! RES_STR "TWO",R1 ! MOV.L #str00019,R1 MOV.L #str00019,R1 ! BRA end_str00019 BRA end_str00019 ! NOP NOP !str00019 .SDATA "TWO" str00019: .byte 84,87,79 ! .ALIGN 2 .align 2 !end_str00019 end_str00019: ! RES_STR "THREE",R2 ! MOV.L #str00020,R2 MOV.L #str00020,R2 ! BRA end_str00020 BRA end_str00020 ! NOP NOP !str00020 .SDATA "THREE" str00020: .byte 84,72,82,69,69 ! .ALIGN 2 .align 2 !end_str00020 end_str00020: ! ! ! ! RES_STR STR=donkey Rn=R1 ! MOV.L #str00021,R1 MOV.L #str00021,R1 ! BRA end_str00021 BRA end_str00021 ! NOP NOP !str00021 .SDATA "donkey" str00021: .byte 100,111,110,107,101,121 ! .ALIGN 2 .align 2 !end_str00021 end_str00021: ! RES_STR donkey,R1 ! MOV.L #str00022,R1 MOV.L #str00022,R1 ! BRA end_str00022 BRA end_str00022 ! NOP NOP !str00022 .SDATA "donkey" str00022: .byte 100,111,110,107,101,121 ! .ALIGN 2 .align 2 !end_str00022 end_str00022: ! RES_STR donkey Rn=R1 ! MOV.L #str00023,R1 MOV.L #str00023,R1 ! BRA end_str00023 BRA end_str00023 ! NOP NOP !str00023 .SDATA "donkey" str00023: .byte 100,111,110,107,101,121 ! .ALIGN 2 .align 2 !end_str00023 end_str00023: ! .END @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import of binutils 2.10 into new gnu/dist/toolchain layout. @ text @@ 1.1.1.2 log @Import binutils 2.11. @ text @d299 4 a302 4 ! MOV.L #str18,R0 MOV.L #str18,R0 ! BRA end_str18 BRA end_str18 d305 2 a306 2 !str18 .SDATA "ONE" str18: .byte 79,78,69 d309 2 a310 2 !end_str18 end_str18: d312 4 a315 4 ! MOV.L #str19,R1 MOV.L #str19,R1 ! BRA end_str19 BRA end_str19 d318 2 a319 2 !str19 .SDATA "TWO" str19: .byte 84,87,79 d322 2 a323 2 !end_str19 end_str19: d325 4 a328 4 ! MOV.L #str20,R2 MOV.L #str20,R2 ! BRA end_str20 BRA end_str20 d331 2 a332 2 !str20 .SDATA "THREE" str20: .byte 84,72,82,69,69 d335 2 a336 2 !end_str20 end_str20: d344 4 a347 4 ! MOV.L #str21,R1 MOV.L #str21,R1 ! BRA end_str21 BRA end_str21 d350 2 a351 2 !str21 .SDATA "donkey" str21: .byte 100,111,110,107,101,121 d354 2 a355 2 !end_str21 end_str21: d357 4 a360 4 ! MOV.L #str22,R1 MOV.L #str22,R1 ! BRA end_str22 BRA end_str22 d363 2 a364 2 !str22 .SDATA "donkey" str22: .byte 100,111,110,107,101,121 d367 2 a368 2 !end_str22 end_str22: d370 4 a373 4 ! MOV.L #str23,R1 MOV.L #str23,R1 ! BRA end_str23 BRA end_str23 d376 2 a377 2 !str23 .SDATA "donkey" str23: .byte 100,111,110,107,101,121 d380 2 a381 2 !end_str23 end_str23: @