Question:
How do I run these .ASM file? Assembly language?
Up.Prozac
2008-02-01 01:29:43 UTC
Greetings,

I have SDCC software, calculator.asm, calculator.hex and calculator.lst

I need to know how to run this file. This is based on 8051 and im totally confuse coz im familiar with 8085 that comes with microprocessor simulator and not SDCC

worth 10 points.
Three answers:
xaero
2008-02-01 01:40:08 UTC
i hope you are new to this type of programming.. you have to get a an assembler generally "tasm" is used compile the file u will get a exe for the same.. run it .asm file is a assembly language program.. like any other language it requires a compiler to generate an executable.. but the difference being you do not get a compiler for the same u get an assembler cause most of the languages compile the source code to generate a assembly file which is converted into machine language or the exe.. get a copy of tasm (google it) it is a command line compiler not similar to those of turboC etc..
?
2008-02-01 01:43:04 UTC
8050 were my favorites at the time. Still are!

Your front end software does not "run" the ASM code...

You edit your assembler: calc.asm.

You compile it on your font end: it gives calc.lst and calc.hex.

THEN, you use the "programmer" interface: a small unit with a socket for your chip and a link (com or USB) to connect to your PC. You download your hex file to the programmer, you use the programmer to "blow" the code into the chip, you put the chip in your final module (the one you have designed to USE the 8050 chip as microcontroller), you power your design, et voilà!... You little robot is now operating on his own!

Go to www.skytargets.com, Target Systems: all targettry equipment is designed around various versions of the 8052...
?
2016-10-06 08:58:21 UTC
beneficial factors of the standard 8051 incorporate geared up-in reset timers with brown-out detection, on-chip oscillators, self-programmable Flash ROM application memory, geared up-in exterior RAM, extra inner application storage, bootloader code in ROM, EEPROM non-risky documents storage, I²C, SPI, and USB host interfaces, CAN or LIN bus, PWM turbines, analog comparators, A/D and D/A converters, RTCs, extra counters and timers, in-circuit debugging centers, extra interrupt ingredients, and extra power saving modes. What ingredient of the 8051 are you concerning by skill of "code locking device"? Do you recommend a thank you to flash the EEPROM?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...