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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [asm-11/] [tests/] [test_0120_op_rg.mac] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 wfjm
; $Id: test_0120_op_rg.mac 575 2014-07-27 20:55:41Z mueller $
2 19 wfjm
;
3
; test opcodes with 1 1/2 operands
4
;
5
        .asect
6
        .blkw   400
7
 
8
a:      .word   0
9
pa:     .word   a
10
 
11
sub:    rts     pc              ;;!! 001004: 000207
12
        jsr     pc,sub          ;;!! 001006: 004767 177772
13
 
14
        xor     r1,a            ;;!! 074167 177762
15
 
16
        mul     a,r2            ;;!! 070267 177756
17
        div     @pa,r2          ;;!! 071277 177754
18
        ash     #12,r3          ;;!! 072327 000012
19
        ashc    @#a,r4          ;;!! 073437 001000
20
 
21 25 wfjm
; test call + return aliases too
22
sub1:   return                  ;;!! 000207
23
        call    sub1            ;;!! 004767 177772
24
 
25 19 wfjm
        .end

powered by: WebSVN 2.1.0

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