Andes Workshop
http://forum.andestech.com/

push25中的更新$r8
http://forum.andestech.com/viewtopic.php?f=14&t=659
Page 1 of 1

Author:  cindy [ Fri Jan 18, 2013 4:27 pm ]
Post subject:  push25中的更新$r8

在V3指令的push25中,有1個步驟是將$pc記到$r8裡。
這個用途是將$r8當base,取出function的起點,
往前可以抓參數。

實作上會用到的指令是
LWI45.FE (Load Word Immediate with Implied Function Entry Point)
也可以在ISA裡面看到。

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/