Re: ¤¦¡¼¤ó¤à¤º¤«¤·¤¤¡ª



[ ¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ø¤ÎÊÖ»ö ] [ ÊÖ»ö¤ò½ñ¤¯ ] [ home.html ]



Åê¹Æ¼Ô¡§ 68user @ oryo.inforyoma.or.jp on 97/9/22 00:33:03

In Reply to: Re: ¤ó¡©

posted by movem.l d0-d7/a0-a5,-(sp) @ h129.p066.iij4u.or.jp on 97/9/21 22:09:09

> ¥Ñ¥¤¥×¥é¥¤¥ó¤Ï¤´Â¸ÃΤǤ¹¤Í¡©

¤Þ¤¡¡¢°ì±þ¤ÏÃΤäƤޤ¹¡£¤«¤Ê¤ê²ø¤·¤¤Ãμ±¤Ç¤¹¤±¤É¡£
1¡¢Ì¿Îá¥Õ¥§¥Ã¥Á
2¡¢Ì¿Îá¥Ç¥³¡¼¥É
3¡¢±é»»
4¡¢¥á¥â¥ê¥¢¥¯¥»¥¹¡¢
5¡¢±é»»·ë²Ì¤Î¥ì¥¸¥¹¥¿¤Ø¤Î½ñ¤­¹þ¤ß
¤Ç¤¹¤è¤Í (Oh!X¤«¤é¤Î´Ý¼Ì¤·¤Ç¤¹¤±¤É¡Ä(^^;)

> ʬ´ôÌ¿Îá¤Î¾ì¹ç¡¢¥¢¥É¥ì¥¹¤Î·×»»¤¬½ª¤ï¤ë¤Þ¤Ç¡¢¼¡¤ÎÌ¿Î᤬Æɤ߹þ¤á¤Þ¤»¤ó¡£
> ¤½¤³¤Ç¡¢¥Ñ¥¤¥×¥é¥¤¥ó¤ò»ß¤á¤ÆÂÔ¤Á¹ç¤ï¤»¤ò¹Ô¤ï¤º¤Ë(¥×¥í¥»¥Ã¥µ¤¬Ê£»¨¤Ë
> ¤Ê¤ë¤¿¤á)¡¢Ìµ¾ò·ï¤Ç¥Ñ¥¤¥×¥é¥¤¥ó¤ËÌ¿Îá¤òÊü¤ê¹þ¤à¤è¤¦¤Ë¤·¤Æ¤¢¤ë¤è¤¦¤Ç¤¹¡£
> ÅöÁ³¡¢Ãٱ䥹¥í¥Ã¥È¤ËÆþ¤ì¤ë¤Î¤Ïʬ´ôÌ¿Îá¤È¤Ï̵´Ø·¸¤ÊÌ¿Îá¤Ç¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£

> MIPS(R3000)¤Ï¡¢¥í¡¼¥ÉÌ¿Îá¤Èʬ´ôÌ¿Îá¤ÇÃٱ䥹¥í¥Ã¥È¤¬È¯À¸¤¹¤ë¤è¤¦¤Ç¤¹¡£
> ¤½¤ì¤¾¤ì¥í¡¼¥ÉÃٱ䡢ʬ´ôÃÙ±ä¤È¤¤¤¦¤é¤·¤¤)

¤¢¡¢MIPS¤Ã¤ÆR3000·Ï¤Ê¤ó¤Ç¤¹¤«¡© ½é¤á¤ÆÃΤ俤ä¹(^^;

¤Ä¤Þ¤ê

add ...
bne ...

¤È¤¢¤ë¤È¡¢bne¤Î±é»»¤¬½ª¤ë¤Þ¤Çadd¤Î¥Õ¥§¥Ã¥Á¤¬¤Ç¤­¤Ê¤¤¡£¤³¤ì¤Ç¤Ï
¥Ñ¥¤¥×¥é¥¤¥ó¤¬¥¹¥È¥Ã¥×¤·¤Æ¤·¤Þ¤¦¡£¤½¤³¤Ç

bne ...
add ...

¤È¤¹¤ë¤È bne¤Î¥Õ¥§¥Ã¥Á¤Î´Ö¤Ëbne¤È¤Ï̵´Ø·¸¤ÊaddÌ¿Îá¤ò¥Õ¥§¥Ã¥Á
¤·¤Æ¤ª¤¤¤Æ¡¢bne¤Î±é»»¤¬½ªÎ»¤·¤¿¤È¤­¤Ë¤Ï¥¸¥ã¥ó¥×Àè¤Î¥¢¥É¥ì¥¹¤Î
±é»»¤¬½ªÎ»¤·¤Æ¤¤¤ë¡¢¤È¡£·ë¶É¥Ñ¥¤¥×¥é¥¤¥ó¤Ï»ß¤Þ¤é¤Ê¤¤¤È¤¤¤¦
¤³¤È¤Ç¤·¤ç¤¦¤«¡£

·ë¶É¡¢

bne ...
??? ...

¤È¤¢¤ë¾ì¹ç¡¢???¡¢bne¤Î½ç¤Ë¼Â¹Ô¤µ¤ì¤ë¡¢¤È¤¤¤¦¤³¤È¤Ç¤è¤í¤·¤¤¤Ç¤¹¤«¡©

¤Ç¤â¤Ç¤â

> ¤Ç¤â¡¢ÉáÄ̤˽ñ¤¤¤¿¤é
> ¢³¢³¢³bne $21,$20,Loop
> ¡¡¡¡¡¡nop
> ¢³¢³¢³add $8,$8,$9¢³¢³¢³ # h += $9
> ¤È¡¢Ç§¼±¤µ¤ì¤Æ¤·¤Þ¤Ã¤¿¡£¤¤¤ä¤Ï¤ä¡¢±ü¤¬¿¼¤¤¡£(^^;)

¤Ï¤É¤¦¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¡£¤³¤ì¤Ïadd¤¬¼Â¹Ô¤µ¤ì¤Ê¤¤¤è¤¦¤Ê¡Ä