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

System Register instruction encoding index
http://forum.andestech.com/viewtopic.php?f=14&t=934
Page 1 of 1

Author:  cindy [ Tue Sep 01, 2015 12:47 am ]
Post subject:  System Register instruction encoding index

SR Encoding: System Register instruction encoding index. It is 10 bits. It is partitioned into 3 parts, Major, Minor, and Extension. The Major index is 3 bits. The Minor index is 4 bits.The Extension index is 3 bits.

Attachment:
1.png
1.png [ 50.77 KiB | Viewed 12508 times ]


The SRIDX is the System Register instruction encoding index.

For example:
64 00 80 02 mfsr $r0,$msc_cfg

--> The binary is 110010 00000 000 0100 000 00000 00010

Attachment:
2.png
2.png [ 40.25 KiB | Viewed 12507 times ]

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