Updated doc of instruction set?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there an updated instruction set document lurking around the Atmel site that I just can't find?
A document that contains the new xmega opcodes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel's 8-Bit Instruction Set document doc8056.pdf, currently Rev H, has included XMEGA device support since Rev F of May 2008.

The change occuring in rev F is: – Updated AVR Instruction Set with XMEGA Clock cycles and Instruction Description.

There is no special instruction set for the XMEGA. The XMEGA A MANUAL and each XMEGA device datasheet appear to include an instruction set summary.
The only instruction that seems to stand out in the XMEGA instruction summary is DES – Data Encryption Standard.

Stan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MBedder discovered some and posted about it.

https://www.avrfreaks.net/index.p...

Also avr-gcc generates code that uses them (atleast the LAT instruction).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The AVR Instruction Set doc0856.pdf has been updated to Rev I.

Quote:
Rev.0856I – 07/10

1. Updated “Complete Instruction Set Summary” on page 11 with new instructions: LAC, LAS, LAT and XCH.
- “LAC – Load And Clear” on page 84
- “LAS – Load And Set” on page 85
- “LAT – Load And Toggle” on page 86
- “XCH – Exchange” on page 157

2. Updated number of clock cycles column to include Reduced Core tinyAVR.
- (ATtiny replaced by Reduced Core tinyAVR).

Stan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I updated AVR Studio to 4.18 SP2 (b700) and these instructions are not highlighted in assembler. There is a way to add these keywords manually in order to be highlighted ? The same question would apply for custom macros.

Another question, which AVR part support these new instructions ?

And another question, when / where are these instructions useful since the document not tell much about it ?

George.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

There is a way to add these keywords manually in order to be highlighted ? The same question would apply for custom macros.

See the format of:

\Program Files\Atmel\AVR Tools\AvrStudio4\edit\AvrStudio_asm.ini

Currently the file ends:


CLZ	= Keyword
SEI	= Keyword
CLI	= Keyword
SES	= Keyword
CLN	= Keyword
SEV	= Keyword
CLV	= Keyword
SET	= Keyword
CLT	= Keyword
SEH	= Keyword
CLH	= Keyword
NOP	= Keyword
SLEEP	= Keyword
STD     = Keyword
WDR	= Keyword
BREAK	= Keyword
CLS	= Keyword   
EIJMP	= Keyword
EICALL	= Keyword  

just add new entries to the end of this.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Awesome, thank you.

George.