Xmega Assembly Code Instructions in Hex

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

This is probably a newbie question, but I could use a pointer in the right direction.

I generally program in Bascom and ZBasic, not C or Assembly.

That said, I would like to look at a Hex file and locate a part of my program.

It is a very short program, so most of the micro's memory is all 0xFF's.

I thought I'd add a couple of NOP instructions in a row, in a Bascom program, as a marker to see where they showed up in memory. Looking through the Xmega Manuals (E series and A series), I see the section: Instruction Set Summary.

The problem is it only list the Mnemonics, (ADD, ADC, ... INC, ... NOP) and not the Hex value of the instruction.

Is the instruction set, along with its Hex value, listed somewhere?

Thanks,

JC

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

Hi George,

Thanks!

That's what I was looking for.

Take Care,

JC