home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMIGA PD 1
/
AMIGA-PD-1.iso
/
Programme_zum_Heft
/
Programmieren
/
Kurztests
/
Barfly
/
Source
/
OptimizeTest.S
< prev
next >
Wrap
Text File
|
1994-07-11
|
1KB
|
81 lines
bopt v,O,OT,ODD
bopt wo
bopt OD0,OD1,OD2,OD3,OD4,OD5,OD6,OD7,OD8,OD9,ODa,ODb,ODc,ODd,ODe
bopt OAP,OAS,OAL,OAX,OAR
trashreg d0
move.l #10,0(a1)
add.w #10,0(a1)
add.w #32000,a1
add.w #-32000,a1
sub.w #32000,a1
sub.w #-32000,a1
add.l #1,a1
add.w #1,a1
add.l #4,a1
add.w #4,a1
add.l #8,a1
add.w #8,a1
add.l #-8,a1
add.w #-1,a1
sub.l #-8,a1
sub.w #-1,a1
lea.l 1(a2),a2
lea.l 4(a2),a2
lea.l 8(a2),a2
trashreg d1/a1
hallo:
move.l 10(a0),hallo
move.l hallo,hallo
tst.l hallo
cmp.l #10,d0
cmp.l #10,a0
or.l #40,10(a0)
eor.l #60,$100(a0)
and.l #%1111,$220(a0)
add.l #40,$100(a0)
sub.l #80,$100(a0)
or.l #$80,d2
eor.l #$1,d3
move.l hallo,d1
move.l $200.l,d1
move.l d1,$200.l
jsr hallo
jmp hallo
jsr $1000.l
cmp.l #0,(a1)
cmp.w #0,d1
cmp.b #0,d1
asl.l #1,d1
asl.w #1,d1
asl.b #1,d1
mulu.w #2,d1
muls.w #2,d1
mulu.w #512,d1
muls.w #512,d1
mulu.w #1024,d1
muls.w #1024,d1
bsr.w hallo
move.l #0,d1
move.l #127,d1
move.l #-1,d1
move.l #-128,d1
move.l #$007f0000,d1
move.l #$ff80ffff,d1
move.l #$fffeffff,d1
move.l #$000000c0,d1
move.l #$0000ff81,d1
move.l #$0000ffff,d1
move.l #$ffff0001,d1
move.l #$ffff0080,d1
move.w #0,a1
move.l #0,a1
move.l #$10000,d1
move.l #0,$200.w
move.l #0,(a1)
move.w #0,(a1)
move.b #0,(a1)
move.b #$ff,(a1)
rts