This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use the MAC in keil?

Is the Multiply-Accumulate (MAC) Unit supported by the C51 compiler for the cygnal c8051f12x devices? How to use it?

Parents
  • THANK YOU! THANK YOU! THANK YOU!

    This looks like what I really want! Now, I get to show my ignorance. I'm not as familiar with the Keil tools as I'd like to be (sorry but until this 8051 based project I've been using Tasking tools - I prefer a C++ compiler). For the most part I've been using Keil's tools through the silabs IDE (which looks like a modified version of the Keil IDE).

    Here is the "stupid" question... How do I use (invoke) this "MDU_F120" directive?

    No picking at me about the C++ comment please - there are lots of advantages to a C++ compiler, even in an embedded environment. You just have to understand what will be generated if you get carried away with things (and I used it with C167 and ST10, which are much more capable than an 8051).

Reply
  • THANK YOU! THANK YOU! THANK YOU!

    This looks like what I really want! Now, I get to show my ignorance. I'm not as familiar with the Keil tools as I'd like to be (sorry but until this 8051 based project I've been using Tasking tools - I prefer a C++ compiler). For the most part I've been using Keil's tools through the silabs IDE (which looks like a modified version of the Keil IDE).

    Here is the "stupid" question... How do I use (invoke) this "MDU_F120" directive?

    No picking at me about the C++ comment please - there are lots of advantages to a C++ compiler, even in an embedded environment. You just have to understand what will be generated if you get carried away with things (and I used it with C167 and ST10, which are much more capable than an 8051).

Children