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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fp/] [implementation/] [mmix/] [popup.mms] - Blame information for rev 15

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 hellwig
* Testing the solution to exercise 1.4.1--16
2
 LOC #100
3
B GET $2,rJ
4
  PUSHJ $3,C
5
  PUT rJ,$2; POP 2,0
6
  SET $1,1
7
  SET $0,$3
8
  PUT rJ,$2; POP 2,0
9
 
10
C BZ  $0,1F
11
  CMP $2,$0,5
12
  PBNZ $2,2F
13
  POP 1,0
14
2H GET $1,rJ
15
  SUB $3,$0,1
16
  PUSHJ $2,C
17
  PUT rJ,$1; POP 1,0
18
  ADD $0,$2,2
19
  PUT rJ,$1
20
1H POP 1,2
21
 
22
Main SET $5,2   manually change this to 5 or 6 or ...
23
     PUSHJ $0,B

powered by: WebSVN 2.1.0

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