Forum » Programiranje » [Q]Assembler
[Q]Assembler
Struja ::
Pozdravljeni,
mam en problem. Sicer zanima me, če kdo obvlada assembler. Želim napisati program, ki bo v file register v 0x40 vpisal A,B,C,D,E in to z zanko.
mam en problem. Sicer zanima me, če kdo obvlada assembler. Želim napisati program, ki bo v file register v 0x40 vpisal A,B,C,D,E in to z zanko.
GoodSatanist ::
(\__/) This is Bunny. Copy and paste bunny
(='.'=) into your signature to help him gain
(")_(") world domination.
(='.'=) into your signature to help him gain
(")_(") world domination.
Struja ::
Aja sem pozabu povedat da je to za p16f877 krmilnik. Sm spisu program in mam literaturo sam neki ne stima pa nevem kaj.
__config 0x3f7a
CBLOCK 0x40
REGISTER
ENDC
ORG 0x00
GOTO START
ORG 0x05
START
MOVLW 0x45
MOVWF REGISTER
ZANKA
DECF REGISTER, 1
BTFSS REGISTER, 0
GOTO ZANKA
END
__config 0x3f7a
CBLOCK 0x40
REGISTER
ENDC
ORG 0x00
GOTO START
ORG 0x05
START
MOVLW 0x45
MOVWF REGISTER
ZANKA
DECF REGISTER, 1
BTFSS REGISTER, 0
GOTO ZANKA
END
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | esembler-hitroOddelek: Programiranje | 1461 (1149) | aaaaa93 |
» | programiranje PIC..c++ ali zbirnik?Oddelek: Programiranje | 1721 (1613) | Highlag |
» | programiranje procesorja (strani: 1 2 3 4 … 8 9 10 11 )Oddelek: Elektrotehnika in elektronika | 36557 (25958) | icek |
» | PIC 16f84A - utripanjeOddelek: Elektrotehnika in elektronika | 2205 (2005) | ql000 |
» | ideja: koda za razne mikrokontrolerje na enem mestuOddelek: Elektrotehnika in elektronika | 3690 (3167) | neoto |