AVRASM2 wish list

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

Hi All - or rather Atmel!

I've just installed Studio-v4.10; which contains avrasm2-beta. Here is my feedback (or my 'wish list') regarding the new assambler.

Macros, apart from '.set' directive, should also accept '.equ' and '.org' directives. In my programming practice, I find the following macros usefull and enhancing the code readibility. Of cource others may find other usefull ways of using those - the fact, that macro might create named value tat is 'update protected' (like '.euq') is atreative for a programmer. I fail to see a reason to keep this feature away.

.macro function
        .cseg
global @0:
.endm

.macro interrupt
        .cseg
@0_here:
        .org    @0addr
        jmp     @0_here
        .org    @0_here
.endm
;------------------------
; Then I write:
;------------------------
        .dseg
test:        .byte      3

function getc
; something
        ret

interrupt URXC0
; something else
       reti

This way I can have the interupt routine listed (and confined) within my sources where it's (textually) most relevant, while making sure, that a correct interupt vector will be generated by the assambler. This wasn't possible with avrasm nor it is possible with avrasm2. Pity.

As a side note. May be there should be a 'sticky' topic on this list. Like: "Top-10 most desired feratures", where such 'wish-list' would be maintained (and may be voted)?

-R

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

rp11 wrote:

As a side note. May be there should be a 'sticky' topic on this list. Like: "Top-10 most desired feratures", where such 'wish-list' would be maintained (and may be voted)?

OT:
You can make the topic sticky yourself. And, you can also create a survey (that can be voted on) too.

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

rp11 wrote:
Hi All - or rather Atmel!

I've just installed Studio-v4.10; which contains avrasm2-beta. Here is my feedback (or my 'wish list') regarding the new assambler.

Macros, apart from '.set' directive, should also accept '.equ' and '.org' directives. In my programming practice, I find the following macros usefull and enhancing the code readibility. Of cource others may find other usefull ways of using those - the fact, that macro might create named value tat is 'update protected' (like '.euq') is atreative for a programmer. I fail to see a reason to keep this feature away.

It is a bit late now to make changes like this for the next upcoming release of the assembler, but I have noted your suggestions for possible consideration for a later AVRASM2 version (possibly in modified form using the preprocessor).

Quote:
As a side note. May be there should be a 'sticky' topic on this list. Like: "Top-10 most desired feratures", where such 'wish-list' would be maintained (and may be voted)?

Sounds like an interesting idea.

Roland Kruse
Atmel AVR Tools

Please don't report bugs in private forum messages.
--
Roland Kruse
Atmel AVR Tools