comparison Changes @ 283:230a3b98b843 mips-done

MIPS jump work.
author kono
date Mon, 24 May 2004 13:21:22 +0900
parents d61cf7a9b469
children ec1a68133f6a
comparison
equal deleted inserted replaced
282:d61cf7a9b469 283:230a3b98b843
4527 arg1: 0 1 2 3 4 : 0 0 4527 arg1: 0 1 2 3 4 : 0 0
4528 arg1: 1 2 3 4 0 : 0 0 4528 arg1: 1 2 3 4 0 : 0 0
4529 args: 0 263785888 4200109 2712942 0 : 0 0 4529 args: 0 263785888 4200109 2712942 0 : 0 0
4530 Segmentation fault 4530 Segmentation fault
4531 ま、いろいろあるね。 4531 ま、いろいろあるね。
4532
4533
4534 0x401180 <main1+16>: sw $gp,16($sp)
4535
4536 0x401298 <main+56>: jalr $t9
4537 0x40129c <main+60>: nop
4538 0x4012a0 <main+64>: lw $gp,16($s8)
4539
4540 この一貫しないのやめてよ.... $sp!=$fp にすると、$gp がずれて
4541 しまう。call の前に $fp=$sp にするという手もあるが....