'macros for "structured assembly" ?'
William Chops Westfield
Hmm. As a processor based on fixed length instructions and SKIP based
comparisons, the PIC should be well suited for a variations of macros
I first saw on PDP-10s 15 years or so ago. They look like:
skipe ; Skip if equal to zero, or on any other condition
%if ; a macro
;code to execute if the instruction skips
%else ;Another macro
;code to run if no skip
Note that %if and %else generate jumps, and %end simply defines a symbol.
the challenge with most assemblers is getting each use of the macros to
generate a separate set of symbols.
If anyone would like these, I can dig up PDP-10 and MASM versions of the
macros and see if I can convert them to the microchip PIC assembler ("it's
the one with macros right?" he asks sheepishly, fearing to admit that the
disk is still in the shipping package...)
William Chops Westfield <CISCO.COM> wrote: billw
>I can convert them to the microchip PIC assembler ("it's the one with
>macros right?" he asks sheepishly, fearing to admit that the
>disk is still in the shipping package...)
Don't bother unpacking the disk; it's undoubtedly an old version of the
assembler. Instead, call the Microchip BBS and download the newest
version. I'm using 1.21.09, but I think the latest released version is
something like 1.21.00. You'll like it much more than whatever version
Andrew Warren - ix.netcom.comfastfwd
Fast Forward Engineering, Vista, California
More... (looser matching)
- Last day of these posts
- In 1995
, 1996 only
- New search...