Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: Translate 8051 assembly to AVR assembly

2004-10-19 by Zack Widup

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.
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.