Name: | Roger Froud |
Company: | Amytech Ltd. |
Web Site: | |
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
etc, etc...
Dozens of definitions including pseudo registers B,C & D
Some 32 bit macro definitions that group 2 pseudo registers as a 32 bit
pair
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.
+
file: /Techref/member/RF-AMY-K22a/index.htm, 1KB, , updated: 2006/4/18 08:09, local time: 2024/11/24 03:28,
owner: RF-AMY-K22a,
18.117.71.239:LOG IN
|
©2024 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> |
Did you find what you needed? From: "http://ecomorder.com/member/RF-AMY-K22a/index.htm" |