|| Roger Froud
I have a large header file of macros that use pseudo
16 bit registers to perform a large variety of useful 16bit maths
functions. This simulates 16 bit opcodes that refer to source &
destination such as....
MOVLAA d'1234' ;Move 16 bit literal to pseudo register A
ADDFA FILE16 ;Add the file register pair defined by FILE16 RES 2 to 16 bit
pseudo register A
Dozens of definitions including pseudo registers B,C & D
Some 32 bit macro definitions that group 2 pseudo registers as a 32 bit
This is all based on ideas foud in Microchips 'Embedded Control Handbook'
Volume 1. It's a wonder to me that Microchip don't have a proper official
set of macros like these as they are so useful and much less clumsy than
most other methods.
| ||©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.ecomorder.com/techref/member/RF-AMY-K22a/index.htm"> Member Homepage for RF-AMY-K22a</A>