, 2,3 . +5 154 , +15 - 70 . 2,5 . 15.

T1 232-127/220-50. 9 ·. : U11-12 = U13-14 = 5,04 ; U15-16 = U17-18 = 10 ; U19-20 = U21-22 = 2,63 . 0,2 .

+5 LM7805, 1,5 . +15 LM7815. 1,5 . DA6 TL431A.

15 -

5.31 KURS.ASM 8-11-2009 2:45:19 PAGE 1

LOC OBJECT CODE LINE SOURCE TEXT[215]: Processor superseded by command line. Verify processor symbol.

LIST P=16F874

00002 #INCLUDE <P16F874.INC>;

00001 LIST

; P16F874.INC Standard Header File, Version 1.00 Microchip Technology, Inc.[301]: MESSAGE: (Processor-header file mismatch. Verify selected processor.)

LIST

ERRORLEVEL -302

00004 ERRORLEVEL -305

ERRORLEVEL -207

;----------------------------------------------------

;

00008 A0 EQU 0x20; A1

00009 A1 EQU 0x21; A2

00010 N1 EQU 0x22; N1

00011 N2 EQU 0x23; N2

00012 N3 EQU 0x24; N3

00013 Y4 EQU 0x25; Y4

00014 N EQU 0x26

00015 K EQU 0x27;

00000028 00016 FLAG EQU 0x28

00017 Y1 EQU 0x29

A 00018 X1 EQU 0x2A

B 00019 X2 EQU 0x2B

C 00020 X3 EQU 0x2C

D 00021 X4 EQU 0x2D

0000002E 00022 X5 EQU 0x2E

F 00023 TEMP EQU 0x2F;

00024 DACL EQU 0x30;

00025 DACH EQU 0x31;

00000032 00026 W_TEMP EQU 0x32

00027 STATUS_TEMP EQU 0x33

00000034 00028 IN_ADR EQU 0x34

00029 K_SHIFT EQU 0x35;

00030 CONTROL EQU 0x36;

00031 DIV_IND EQU 0x37;

00000038 00032 LED1 EQU 0x38

00033 LED2 EQU 0x39

A 00034 LED3 EQU 0x3A

B 00035 LED4 EQU 0x3B

C 00036 OUT_ADR EQU 0x3C

D 00037 DIV_AVAR EQU 0x3D

E 00038 COUNTER EQU 0x3E

F 00039 IN_BD EQU 0x3F

00000040 00040 BUF_BD EQU 0x40

00041 COUNTH EQU 0x41;-

00042 COUNTL EQU 0x42;-

00043 COUNTER1 EQU 0x43

;----------------------------------------------------

;

#DEFINE Y2 FLAG,0

00047 #DEFINE Y3 FLAG,1

#DEFINE AVAR FLAG,25.31 KURS.ASM 8-11-2009 2:45:19 PAGE 2OBJECT CODE LINE SOURCE TEXT

;----------------------------------------------------

;

00051 F EQU 1

00052 W EQU 0

A 00053 Q EQU 0x0A

00054 WR_DAC EQU B'00011000'

00055 CTMR0 EQU D'96'

;----------------------------------------------------

;

BANK0 MACRO; 0

BCF STATUS,RP0

BCF STATUS,RP1

ENDM

BANK1 MACRO; 1

BSF STATUS,RP0

BCF STATUS,RP1

ENDM

BANK2 MACRO; 2

BCF STATUS,RP0

BSF STATUS,RP1

ENDM

BANK3 MACRO; 3

BSF STATUS,RP0

BSF STATUS,RP1

ENDM

MULT MACRO BIT;

BTFSC A1,BIT

ADDWF Y4,F

RRF Y4,F

BCF STATUS,C

00083 ENDM

;------------------------------------------------------

00085 ORG 0x00;

2A00 00086 GOTO START;

00088 ORG 0x200;

00089 START

;-----------------------------------------------------

: 1 2 3 4 5 6


, / , ...


, , ...


( ) ...

www.techspirit.ru © 2019