Parent Directory
|
Revision Log
|
Patch
| revision 1.5 by batonik, Tue Dec 31 12:20:16 2002 UTC | revision 1.6 by batonik, Wed Jan 1 21:22:55 2003 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | ! -------- definicje stałych -------------- | ! -------- definicje stałych -------------- |
| 2 | ZIEW = 1234 | TEST = 1 |
| 3 | TEST_2 = 1 | |
| 4 | ||
| 5 | test = 0x1234 | test = 0x1234 |
| 6 | zenek=-100 | STO = 100 |
| 7 | ||
| 8 | .data | .data |
| 9 | ! .align 2 | ! .align 2 |
| # | Line 18 slowa: .word -1 | Line 20 slowa: .word -1 |
| 20 | .text | .text |
| 21 | ||
| 22 | start: | start: |
| 23 | ld [TEST], %r4 | |
| 24 | ld [%g0 + TEST], %r4 | |
| 25 | ld [%g0 - TEST_2], %r4 | |
| 26 | ||
| 27 | add %r5, 100, %r5 | |
| 28 | add %r5, STO, %r5 | |
| 29 | nop | nop |
| 30 | nop | nop |
| 31 | nop | nop |
| # | Line 25 start: | Line 33 start: |
| 33 | dec %r2 | dec %r2 |
| 34 | neg %r9 | neg %r9 |
| 35 | mov %r9, %r8 | mov %r9, %r8 |
| add %r5, 100, %r5 | ||
| 36 | xorcc %r8, %r4, %r20 | xorcc %r8, %r4, %r20 |
| 37 | bne start | bne start |
| 38 | call ziew | call ziew |
| # | Line 36 start: | Line 43 start: |
| 43 | st %r9, [4] | st %r9, [4] |
| 44 | ld [%r20 + 1000], %r9 | ld [%r20 + 1000], %r9 |
| 45 | stb %r8, [%r19 -3] | stb %r8, [%r19 -3] |
| 46 | swap [%r12], %r13 | |
| 47 | ret | |
| 48 | ||
| 49 | ziew: | ziew: |
| 50 | nop | nop |
| 51 | be start | be start |
| 52 | call start | call start |
| 53 | jmpl %r7 + 8, %g2 | jmpl %r7 + 8, %g2 |
| 54 | ret | jmp %r7 + 8 |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |