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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fp/] [implementation/] [mmix/] [valid.mms] - Blame information for rev 168

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

Line No. Rev Author Line
1 15 hellwig
      LOC   4
2
      LDVTS $0,$0,0
3
      LOC   #100
4
Main  SET   $1,4
5
      PUSHJ 0,InstTest
6
      JMP   Main
7
 
8
a IS #ffffffff  % table entry when anything goes
9
b IS #ffff04ff  % table entry when Y <= ROUND_NEAR
10
c IS #001f00ff  % table entry for PUT and PUTI
11
d IS #ff000000  % table entry for RESUME
12
e IS #ffff0000  % table entry for SAVE
13
f IS #ff0000ff  % table entry for UNSAVE
14
g IS #ff000003  % table entry for SYNC
15
h IS #ffff001f  % table entry for GET
16
table GREG @
17
      TETRA a,a,a,a,a,b,a,b,b,b,b,b,b,b,b,b % 0x
18
      TETRA a,a,a,a,a,b,a,b,a,a,a,a,a,a,a,a % 1x
19
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 2x
20
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 3x
21
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 4x
22
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 5x
23
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 6x
24
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 7x
25
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % 8x
26
      TETRA a,a,a,a,a,a,a,a,0,0,a,a,a,a,a,a % 9x
27
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % Ax
28
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % Bx
29
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % Cx
30
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % Dx
31
      TETRA a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a % Ex
32
      TETRA a,a,a,a,a,a,c,c,a,d,e,f,g,a,h,a % Fx
33
tetra    IS $1
34
maxXYZ   IS $2
35
InstTest BN     $0,9F
36
         LDTU   tetra,$0,0
37
         SR     $0,tetra,22
38
         LDT    maxXYZ,table,$0
39
         BDIF   $0,tetra,maxXYZ
40
         PBNP   maxXYZ,9F
41
         ANDNML $0,#ff00
42
         BNZ    $0,9F
43
         MOR    tetra,tetra,#4
44
         CMP    $0,tetra,18
45
         CSP    tetra,$0,0
46
         ODIF   $0,tetra,7
47
9H       POP    1,0

powered by: WebSVN 2.1.0

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