I used SPASM, an 8051-like assembler for PIC's, but when I looked at the code generated and the redundancy in some cases, I stuck with Microchip MPASM assembler to write programs. Mine always came out quite a bit shorter. I haven't tried any program that uses 8051-like assembler for the AVR's as I've just gotten started with the AVR's. There may be something out there that will convert 8051-like code to AVR code. I've figured if you're going to use assembler, you might as well use the language the manufacturer recommends for the device. Zack On Tue, 19 Oct 2004, Don Kinzer wrote: > > --- In AVR-Chat@yahoogroups.com, "kevinshin1" <tech@y...> wrote: > > Is there any reference guide to translate 8051 asm code to AVR asm > > code? > > The architectures and instruction sets are quite a bit different. I > suspect that you're going to have to first understand what the 8051 > code is doing and then implement the same logic in AVR code. >
Message
Re: [AVR-Chat] Re: Translate 8051 assembly to AVR assembly
2004-10-19 by Zack Widup
Attachments
- No local attachments were found for this message.