Adsense

Micrprocessor and microcontroller practical with solution

Keil uvision simulation

Set1: Primitive

Practical 1: Write program of following statement in assembly and embedded C.

Set1: Data transfer instructions within processor

A) register to register data transfer.

solution - Assembly & Embedded C code 

Set2: Data transfer to and from the memory

B) Transfer data from memory to register and register to memory. 

Solutions - Assembly and Embedded C

Practical 2: Write program of following statement in assembly and embedded C.

A) Arithmetic operations

B) Logical operations

Practical 3: Write program for program flow control operations in assembly and embedded C.

 Set2: Algorithms

Practical 4: Write assembly and embedded C code to find the maximum and minimum from 8 bit data stored from memory location 0x1FFF101, No. of data elements is stored on memory location 0x1FFF100.

Practical 5: Write assembly and embedded C code to arrange set of 32 bit data stored from memory location 0x1FFF101 in ascending order, No. of data elements is stored on memory location 0x1FFF100.

Practical 6: Write assembly and embedded C code to generate Fibonacci series of 32 bit data stored elements from memory location 0x1FFF101, No. of maximum elements is stored on memory location 0x1FFF100.


 



No comments:

Post a Comment

Write a ARM cortex M0+ assembly language code based on arithmatc and logical instructions.

 Problem 1: Implement following code conversions to convert binary no 0x89ABCDEF(32-bits) into a) BCD (64-bits)   b) Gray (32-bits) Problem...