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

Subversion Repositories diogenes

[/] [diogenes/] [trunk/] [old/] [knight.asm] - Blame information for rev 134

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

Line No. Rev Author Line
1 134 fellnhofer
ldi     h0, 1
2
ldi     l0, 7
3
1:
4
 
5
shi     h0,h0,1
6
 
7
 
8
 
9
mov     l5, l7
10
stio    l5, [l5]
11
ldi     l4, 0
12
ldi     l0, 0
13
ldi     l1, 1
14
1:
15
  st    l0, [l4]
16
  adi   l4, 1
17
  brnz  l5, :1
18
  adi   l5, -1
19
  ldi   l4, 2
20
  mov   l5, l7
21
2:
22
  mov   l2, l4
23
3:
24
  add   l2, l2, l4
25
  cmpl  l6, l2, l5
26
  brz   l6, :4
27
  nop
28
  brnz  l6, :3
29
  st    l1, [l2]
30
4:
31
  adi   l4, 1
32
  nop
33
  cmpl  l3, l5, l4
34
  brnz  l3, :10
35
  ld    l3, [l4]
36
  nop
37
  brnz  l3, :4
38
  nop
39
  brz   l3, :2
40
  nop
41
10:
42
  ldi   l3, 1
43
@  stio  l3, [l3]
44
11:
45
  adi   l3, 1
46
  cmpl  l4, l3, l7
47
  brz   l4, :99
48
  ld    l5, [l3]
49
  nop
50
  brnz  l5, :11
51
  nop
52
  nop
53
  ldi   h4, 0x1
54
  lsi   h4, 0
55
  lsi   h4, 0
56
  ldi   h1, 0
57
@  LDL   h5, :40
58
@  call h6, 
59
  stio  l3, [l0]
60
  lsi   h4, 0
61
32:
62
  cmpl  h0, h1, h4
63
  brnz  h0, :32
64
  adi   h1, 1
65
  brz   h0, :11
66
  nop
67
99:
68
  brnz  l1, :99
69
  nop
70
  stop
71
 

powered by: WebSVN 2.1.0

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