Jump to content
ELFORUM - Forumul electronistilor

Extragere hex

Guest access

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Se schimba extensia .txt cu .asm, te folosesti de MPASMWIN.exe sa compilezi programul. In folder vei gasi un fisier cu extensie .hex.


LIST p=16F628 ; TELLS THE PROGRAMMER WHAT CHIP WE'RE USING.include "P16F628.inc" ; INCLUDES DEFAULTS FOR THE CHIP.ERRORLEVEL 0, -302 ;suppress bank selection messages__config 0x3D18 ;sets the configuration settings (oscillator;type etc.);__config _INTRC_OSC_NOCLKOUT & _LVP_OFF & _WDT_OFF & _PWRTE_OFFcblock 0x20 ;start of general purpose registers
LIST p=xxxxx, include "xxxx.inc", cblock, ERRORLEVEL etc, se regasesc in general in coduri sursa scrise in asambler si in cazul de fata este sintaxa ceruta de MPASM de la Microchip.
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines