OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [asm-11/] [tests/] [test_0210_fpp_2op.mac] - Blame information for rev 40

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
; $Id: test_0210_fpp_2op.mac 503 2013-04-06 19:44:13Z mueller $
2
;
3
; test fpp opcodes with 2 operands
4
;
5
        .asect
6
        .blkw   400
7
 
8
a:      .word   0,0
9
        .word   0,0
10
pa:     .word   a
11
s:      .word   0,0
12
ps:     .word   s
13
 
14
; 2 operand 'gr' opcodes
15
 
16
        mulf    a,r0            ;;!! 171067 177754
17
        muld    r5,r1           ;;!! 171105
18
        modf    @r1,r2          ;;!! 171611
19
        modd    (r2)+,r3        ;;!! 171722
20
        addf    @(r3)+,r0       ;;!! 172033
21
        addd    -(r4),r1        ;;!! 172144
22
        ldf     @-(r5),r2       ;;!! 172655
23
        ldd     a,r3            ;;!! 172767 177734
24
        subf    @pa,r0          ;;!! 173077 177740
25
        subd    0(r1),r1        ;;!! 173161 000000
26
        cmpf    @6(r4),r2       ;;!! 173674 000006
27
        cmpd    r1,r3           ;;!! 173701
28
        divf    @pa,r0          ;;!! 174477 177722
29
        divd    r5,r1           ;;!! 174505
30
 
31
        ldexp   @r1,r0          ;;!! 176411
32
        ldcif   (r2)+,r1        ;;!! 177122
33
        ldcid   @(r2)+,r2       ;;!! 177232
34
        ldclf   -(r3),r3        ;;!! 177343
35
        ldcld   @-(r4),r0       ;;!! 177054
36
        ldcdf   a,r1            ;;!! 177567 177672
37
        ldcfd   @pa,r2          ;;!! 177677 177676
38
 
39
; 2 operand 'rg' opcodes
40
 
41
        stf     r0,a            ;;!! 174067 177662
42
        std     r1,@pa          ;;!! 174177 177666
43
        stexp   r2,@ps          ;;!! 175277 177670
44
        stcfi   r3,(r1)         ;;!! 175711
45
        stcfl   r0,(r2)+        ;;!! 175422
46
        stcdi   r1,@(r3)+       ;;!! 175533
47
        stcdl   r2,-(r4)        ;;!! 175644
48
        stcfd   r3,@-(r4)       ;;!! 176354
49
        stcdf   r0,@pa          ;;!! 176077 177644
50
 
51
        .end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.