Truncated match.
PICList
Thread
'macros for "structured assembly" ?'
1995\10\11@024533
by
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
; etc
; etc
%else ;Another macro
;code to run if no skip
; etc
%end
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...)
BillW
1995\10\12@011033
by
Andrew Warren
William Chops Westfield <spam_OUTbillwTakeThisOuT
CISCO.COM> wrote:
>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...)
Bill:
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
you have.
-Andy
--
Andrew Warren - .....fastfwdKILLspam
@spam@ix.netcom.com
Fast Forward Engineering, Vista, California
More... (looser matching)
- Last day of these posts
- In 1995
, 1996 only
- Today
- New search...