Working on...

your queries, use contact form

24 Mar 2025

Practical No. 8: Block exchange of data from source locations to destination locations.

 

314328 - MICROCONTROLLER & APPLICATIONS

 

Practical No. 8: Block exchange of data from source locations to destination

locations.

 

Problem Statement:  Write a program to perform Block Exchange from source

to destination using external memory locations.

(Note: Here external memory locations 2000H and 2100 are taken)

 

MOV R0, #05H ; initialize the counter

MOV R1, #20H ; initialize the memory location 1 (higher byte)

MOV R2, #21H ; initialize the memory location 2 (higher byte)

MOV R3, #00H ; initialize the memory location 1 & 2 lower byte

BACK: MOV DPH, R1 ;get the memory location 1 address to DPTR

MOV DPL, R3

MOVX A, @DPTR ; get the data from memory1 to Accumulator

MOV B, A ; copy the accumulator content to B register

MOV DPH, R2 ; get the memory2 location address to DPTR

MOVX A,@DPTR ; get the data from memory2 to Accumulator

XCH A, B ; exchange the accumulator and B register content

MOVX @DPTR, A ; copy the accumulator content to memory2

MOV A, B ; get the B register content to accumulator

MOV DPH, R1 ; get the memory1 location address to DPTR

MOVX @DPTR, A ; copy the accumulator content to memory1

INC R3 ; increment to next source and destination memory

DJNZ R0, BACK ; decrement count. If count! =0 go to label “BACK”

END

 

Output:

Before execution

 





After Execution









17 Mar 2025

Practical No. 7: Array data transfer from source locations to destination locations (MAA)

;MAA (Microcontroller and application) 314328

;Practical No. 7: Array data transfer from source locations to destination

;locations

 

;Write a program to transfer a block of 05 bytes from internal data

;memory location 30H onwards to external data memory location 2000H onwards

;Special Note: Memory location 20h is given in program, but it is assigned to ;bit addressable memory hence 30h is taken here, kindly note.

 

ORG 0000H

MOV R0, #05H ; initialize counter

MOV R1, #30H ; initialize the source memory location higher byte

MOV R2, #20H ; initialize the destination memory location higher byte

MOV R3, #00H ; initialize the destination & source location lower byte

BACK: MOV DPH, R2 ; get the source memory location address to DPTR

MOV DPL, R3

MOV A,@R1

MOVX @DPTR,A ; get the data from source memory to destination memory

INC R1 ; increment to next source memory

INC R3 ; increment to next destination memory

DJNZ R0, BACK ; decrement count. If count is non zero, go to label “BACK”

SJMP $

END


23 Feb 2024

MSBTE K shceme laboratory manuals download 2024

 

MSBTE K shceme laboratory manuals download

 

S.N.

1st Semester

Download

1

311303 - COMMUNICATION SKILLS (ENGLISH)

Download

2

311305 - BASIC SCIENCE ( PHYSICS )

Download

3

311305 - BASIC SCIENCE ( CHEMISTRY )

Download

S.N.

2nd Semester

Download

1

312002 - PROFESSIONAL COMMUNICATION

Download

2

312312 - ENGINEERING MECHANICS

Download

3

312338 - BUILDING MATERIAL AND CONSTRUCTION

Download

4

312308 - APPLIED SCIENCE - PHYSICS

Download

5

312308 - APPLIED SCIENCE - CHEMISTRY

Download

6

312303 - PROGRAMMING IN C

Download

7

312004 - WEB PAGE DESIGNING

Download

8

312302 - BASIC ELECTRICAL AND ELECTRONICS ENGINEERING

Download

9

312310 - FUNDAMENTAL OF ELECTRICAL ENGINEERING

Download

10

312006 - BASIC MECHANICAL ENGINEERING

Download

11

312314 - BASIC ELECTRONICS

Download

12

312316 - ELECTRONIC MATERIALS & COMPONENTS

Download

13

312315 - ELEMENTS OF ELECTRICAL ENGINEERING

Download

14

312342 - SOLID FLUID OPERATIONS

Download

15

312339 - SURVEYING

Download

16

312309 - ELEMENTS OF ELECTRONICS

Download

17

312001 - LINUX BASICS

Download

18

312341-FUNDAMENTAL OF CHEMICAL ENGINEERING AND MATERIALS

Download

S.N.

3rd Semester

Download

1

313321 - ADVANCED SURVEYING

Download

2

313323 - HIGHWAY ENGINEERING

Download

3

313308 - STRENGTH OF MATERIALS

Download

4

313322 - CONCRETE TECHNOLOGY

Download

5

313325 - CIRCUITS & NETWORKS

Download

6

313326 - PRINCIPLES OF ELECTRONIC COMMUNICATION

Download

7

313324 - ANALOG ELECTRONICS

Download

8

313303 - DIGITAL TECHNIQUES

Download

9

313327 - BIOSENSORS APPLICATIONS

Download

10

313305 - DIGITAL TECHNIQUES AND MICROPROCESSORS

Download

11

313329 - CONTROL SYSTEM & COMPONENTS

Download

12

313340 - TRANSDUCERS AND MEASUREMENT SYSTEM

Download

13

313003 - APPLIED MULTIMEDIA TECHNIQUES

Download

14

313001 - COMPUTER GRAPHICS

Download

15

313337 - CHEMICAL PROCESS TECHNOLOGY

Download

16

313339 - UTILITIES & PLANT MAINTENANCE

Download

17

313338 - PROCESS INSTRUMENTATION & CONTROL

Download

18

313317 - MECHANICAL ENGINEERING MATERIALS

Download

19

313316 - METROLOGY AND MEASUREMENT

Download

20

313309 - FLUID MECHANICS AND MACHINERY

Download

21

313310 - THERMAL ENGINEERING

Download

22

313313 - THEORY OF MACHINES

Download

23

313005 - VIRTUALIZATION AND CLOUD COMPUTING

Download

24

313301 - DATA STRUCTURE USING C

Download

25

313302 - DATABASE MANAGEMENT SYSTEM

Download

26

313011 - BASIC PYTHON PROGRAMMING

Download

27

313304 - OBJECT ORIENTED PROGRAMMING USING C++

Download

28

313015 - ELECTRICAL MATERIAL AND WIRING PRACTICE

Download

29

313334 - ELECTRICAL AND ELECTRONIC MEASUREMENT

Download

30

313332 - ELECTRICAL CIRCUITS AND NETWORK

Download

31

313333 - ELECTRICAL POWER GENERATION,TRANSMISSION AND DISTRIBUTION

Download

32

313004 - DATA STORY TELLING AND VISUALIZATION

Download

33

313306 - DATA STRUCTURE USING PYTHON

Download

34

313016 - CHEMISTRY FOR CHEMICAL ENGINEERS

Download

35

313335 - FUNDAMENTALS OF POWER ELECTRONICS

Download

36

313307 - STATISTICAL MODELLING FOR MACHINE LEARNING

Download

S.N.

4th semester

Download

1

314322 - D.C. MACHINES AND TRANSFORMERS

Download

2

314324 - DIGITAL ELECTRONICS AND MICROCONTROLLER APPLICATIONS

Download

3

314325 - ELECTRICAL ESTIMATING AND CONTRACTING

Download

4

314323 - UTILIZATION OF ELECTRICAL ENERGY

Download

5

314317 - JAVA PROGRAMMING

Download

6

314318 - DATA COMMUNICATION AND COMPUTER NETWORK

Download

7

314005 - UI/UX DESIGN

Download

8

314004 - PYTHON PROGRAMMING

Download

9

314333 - AI IN ROBOTICS

Download

10

314332 - DIAGNOSTIC EQUIPMENT

Download

11

314013 - INSTRUMENTATION SYSTEM MAINTENANCE

Download

12

314006 - INTERNET OF THINGS

Download

13

314315 - GEOTECHNICAL ENGINEERING

Download

14

314313 - ESTIMATING, COSTING AND VALUATION

Download

15

314314 - WATER AND WASTEWATER ENGINEERING

Download

16

314327 - CONSUMER ELECTRONIC SYSTEMS

Download

17

314328 - MICROCONTROLLER & APPLICATIONS

Download

18

314363 - BASIC POWER ELECTRONICS

Download

19

314326 - DIGITAL COMMUNICATION SYSTEMS

Download

20

314311 - POLLUTION CONTROL IN CHEMICAL INDUSTRIES

Download

21

314003 - SAFETY IN CHEMICAL INDUSTRIES

Download

22

314310 - INDUSTRIAL FLUID FLOW OPERATION

Download

23

314309 - CHEMICAL REACTION KINETICS

Download

24

314321 - MICROPROCESSOR PROGRAMMING

Download

25

314320 - MATHEMATICS FOR MACHINE LEARNING

Download

26

314017 - BASICS OF MECHATRONICS

Download

27

314336 - PROCESS INSTRUMENTATION

Download

28

314007 - COMPUTER HARDWARE SYSTEMS

Download

29

314303 - HYDRAULICS

Download

30

314319 - INFORMATION SECURITY

Download

31

314329 - ANALOG & DIGITAL COMMUNICATION

Download

32

314334 - PRINCIPLES OF ROBOTICS

Download