[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - TESTSET instruction

TESTSET instruction

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

TESTSET instruction

Postby Gravis » Mon Jul 15, 2013 11:26 pm

User avatar
Gravis
 
Posts: 445
Joined: Mon Dec 17, 2012 3:27 am
Location: East coast USA.

Re: TESTSET instruction

Postby aolofsson » Tue Jul 16, 2013 12:38 am

The doc should have read. SUB works the same as for other LDR/STR index functions. The 'S' bit is always zero.

Syntax: TESTSET RD, [RN, +/-RM];

Flags Updated: None


Operation: if ([RN+/-RM]) {
RD= ([RN+/-RM])
}
else{
([RN+/-RM])=RD
RD=0;
}


Manual and opcode table has been updated, will be included in next publishing.

Thanks!

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 74 guests