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 22 guests