SECTION operators in GPASM

View: New views
2 Messages — Rating Filter:   Alert me  

SECTION operators in GPASM

by vasudev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

MPASM has operators for working on sections like

scnend_low   ->Return low byte of section end address.

scnend_high  ->Return high byte of section end address.

scnend_upper ->Return upper byte of section end address.

  Does GPASM support these section operators?

 

Thanks

Vasudev

 


Re: SECTION operators in GPASM

by David Barnett-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 4 Jul 2008 01:15:35 -0700
<Vasudev.Negi@...> wrote:

> MPASM has operators for working on sections like
>
> scnend_low   ->Return low byte of section end address.
>
> scnend_high  ->Return high byte of section end address.
>
> scnend_upper ->Return upper byte of section end address.
>
>   Does GPASM support these section operators?
I don't see anything about them in the gputils code. I think an
equivalent workaround would be to create your own start and end labels
and combine those with HIGH, LOW, and UPPER. You can also get scnsz_* by
subtracting the end from the start.

David

---------------------------------------------------------------------
To unsubscribe, e-mail: gnupic-unsubscribe@...
For additional commands, e-mail: gnupic-help@...