• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Prob with program

Status
Not open for further replies.

sirichinnu

New Member
Hi i am doing line follower project, now i hav an issue with asm file. Can anyone help me out or giv .hex file directly. Tat will be of great help. I have attached the asm file. Thanks in advance
 

Attachments

Sceadwian

Banned
I don't even recognize what kind of ASM code that is.
 
Last edited:

sirichinnu

New Member
Do you mean that you are having issues assembling your code? Or would you rather just have a .hex file that had the programming done for you?
No actually I need .hex of the .asm code for simulation in Proteus. Is there any method to convert .asm to its equivalent C code?:confused: Cos I am not good at AVR assembly.
 

Sceadwian

Banned
You don't 'convert' it you compile it. I don't know where you'd get an 8051 compiler. Are you saying this is an Atmel 8051? AVRStudio may compile it if it's an Atmel 8051, never tried I only use AVR's not their 8051 chips. You haven't even mentioned the chip you're programming yet model or any useful information for us to help with.
 

Sceadwian

Banned
Atmels 8051 compiler chokes out "undefined opcode" errors galore on that code all on the equ lines, are there any standard header files that go with it?
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top