URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [tools/] [opcodes.asm] - Diff between revs 100 and 111
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 100 |
Rev 111 |
Line 23... |
Line 23... |
#These four instructions must be the first instructions
|
#These four instructions must be the first instructions
|
#convert.exe will correctly initialize $gp
|
#convert.exe will correctly initialize $gp
|
lui $gp,0
|
lui $gp,0
|
ori $gp,$gp,0
|
ori $gp,$gp,0
|
#convert.exe will set $4=.sbss_start $5=.bss_end
|
#convert.exe will set $4=.sbss_start $5=.bss_end
|
ori $4,$0,0
|
lui $4,0
|
ori $5,$0,0
|
ori $4,$4,0
|
|
lui $5,0
|
|
ori $5,$5,0
|
|
lui $sp,0
|
|
ori $sp,$sp,0xfff0
|
|
|
mtc0 $0,$12 #disable interrupts
|
mtc0 $0,$12 #disable interrupts
|
ori $20,$0,0xffff #serial port write address
|
ori $20,$0,0xffff #serial port write address
|
ori $21,$0,'\n' # letter
|
ori $21,$0,'\n' # letter
|
ori $22,$0,'X' #'X' letter
|
ori $22,$0,'X' #'X' letter
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.