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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [asm-11/] [tests/] [test_0200_fpp_1op.mac] - Diff between revs 19 and 33

Only display areas with differences | Details | Blame | View Log

Rev 19 Rev 33
; $Id: test_0200_fpp_1op.mac 501 2013-03-30 13:53:39Z mueller $
; $Id: test_0200_fpp_1op.mac 501 2013-03-30 13:53:39Z mueller $
;
;
; test fpp opcodes with 0 or 1 operands
; test fpp opcodes with 0 or 1 operands
;
;
        .asect
        .asect
        .blkw   400
        .blkw   400
a:      .word   0,0
a:      .word   0,0
        .word   0,0
        .word   0,0
pa:     .word   a
pa:     .word   a
s:      .word   0,0
s:      .word   0,0
ps:     .word   s
ps:     .word   s
; 0 operand opcodes
; 0 operand opcodes
        cfcc                    ;;!! 170000
        cfcc                    ;;!! 170000
        setf                    ;;!! 170001
        setf                    ;;!! 170001
        setd                    ;;!! 170011
        setd                    ;;!! 170011
        seti                    ;;!! 170002
        seti                    ;;!! 170002
        setl                    ;;!! 170012
        setl                    ;;!! 170012
; 1 operand opcodes
; 1 operand opcodes
        ldfps   s               ;;!! 170167 177754
        ldfps   s               ;;!! 170167 177754
        stfps   @#s             ;;!! 170237 001012
        stfps   @#s             ;;!! 170237 001012
        stst    @ps             ;;!! 170377 177750
        stst    @ps             ;;!! 170377 177750
        clrf    r0              ;;!! 170400
        clrf    r0              ;;!! 170400
        clrd    @r1             ;;!! 170411
        clrd    @r1             ;;!! 170411
        tstf    (r2)+           ;;!! 170522
        tstf    (r2)+           ;;!! 170522
        tstd    @(r3)+          ;;!! 170533
        tstd    @(r3)+          ;;!! 170533
        absf    -(r4)           ;;!! 170644
        absf    -(r4)           ;;!! 170644
        absd    @-(r5)          ;;!! 170655
        absd    @-(r5)          ;;!! 170655
        negf    a(r1)           ;;!! 170761 001000
        negf    a(r1)           ;;!! 170761 001000
        negd    @pa(r2)         ;;!! 170772 001010
        negd    @pa(r2)         ;;!! 170772 001010
        .end
        .end
 
 

powered by: WebSVN 2.1.0

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