Tuesday 10 January 2017

Microprocessor Lab

MicroProcessor Lab (MIL)

Second Year (Sem 3 Practical Program Set)

(According to 2015 New Syllabus)

Download The file from here (G Drive)

NOTE: These Programs are just for example. 

They may not fulfil the actual requirement of Question!


File Contains : Following University Questions :

Download MIL assignment PDF file


1. Write X86/64 ALP to count number of positive and negative numbers from the array


2. Write X86/64 ALP to perform non-overlapped and overlapped block transfer (with and
without string specific instructions). Block containing data can be defined in the data

3. Write X86/64 ALP to convert 4-digit Hex number into its equivalent BCD number and 5-
digit BCD number into its equivalent HEX number. Make your program user friendly to
accept the choice from user for:
(a) HEX to BCD b) BCD to HEX (c) EXIT.

HEX to BCD:

DOWNLOAD THIS PROGRAM
BCD to HEX:
DOWNLOAD THIS PROGRAM
Display proper strings to prompt the user while accepting the input and displaying the
result. (wherever necessary, use 64-bit registers)
4. Write X86/64 ALP to perform multiplication of two 8-bit hexadecimal numbers. Use
successive addition and add and shift method. Accept input from the user. (use of 64-bit
registers is expected)

successive addition:
DOWNLOAD THIS PROGRAM
(FOR 4 BIT NUMBERS)

add and shift method:

DOWNLOAD THIS PROGRAM
(
FOR 4 BIT NUMBERS)

5. Write X86 ALP to find, a) Number of Blank spaces b) Number of lines c) Occurrence of a
particular character. Accept the data from the text file. The text file has to be accessed
during Program_1 execution and write FAR PROCEDURES in Program_2 for the rest of
the processing. Use of PUBLIC and EXTERN directives is mandatory.



6. Write X86/64 ALP to switch from real mode to protected mode and display the values of
GDTR, LDTR, IDTR, TR and MSW Registers.



7. Write X86 program to sort the list of integers in ascending/descending order. Read the input
from the text file and write the sorted data back to the same text file using bubble sort.

DOWNLOAD THIS PROGRAM
(INSTRUCTIONS: create a .txt file at the same location (where the asm file is present ) with 

some single digit numbers separated by "Enter" key. and then run the program and 
enter the same txt file name with extension
ex: Enter File Name:  abc.txt )



8. Write X86 menu driven Assembly Language Program (ALP) to implement OS (DOS)
commands TYPE, COPY and DELETE using file operations. User is supposed to provide
command line arguments in all cases.
DOWNLOAD THIS PROGRAM


9. Write x86 ALP to find the factorial of a given integer number on a command line by using
recursion. Explicit stack manipulation is expected in the code.


10. Write a Terminate but Stay Resident (TSR) program for a key-logger. The key-presses
during the stipulated time need to be displayed at the center of the screen. 
OR
Write a TSR to generate the pattern of the frequency tones by reading the Real Time
Clock (RTC). The duration of the each tone is solely decided by the programmer.


11. Write 80387 ALP to obtain: i) Mean ii) Variance iii) Standard Deviation Also plot the
histogram for the data set. The data elements are available in a text file.

12. Write 80387 ALP to find the roots of the quadratic equation. All the possible cases must be
considered in calculating the roots.
DOWNLOAD THIS PROGRAM

9 comments:

  1. Can you please upload Files for "Write 80387 ALP to find the roots of the quadratic equation. All the possible cases must be


    considered in calculating the roots."

    ReplyDelete
  2. Sure High Odd Soccer Predictions, Tips and Stats 10cric login 10cric login ミスティーノ ミスティーノ 3741The Biggest Winning Video Slot Videos + Free Spins 2021

    ReplyDelete
  3. @everyone Hello everyone! New rule has been added (cant believe I have to say this) please do not give birth in the Vc. it makes people very uncomfortable. I don't want to have this added to the rules as it is very embarrassing for me as a server owner and the rest of the people trying to enjoy this server. This is your final warning.

    ReplyDelete
    Replies
    1. Please put an NSFW tag on this. I was on the train and when I saw this I had to start furiously masterbating. Everyone else gave me strange looks and were saying things like “what the fuck” and “call the police”. I dropped my phone and everyone around me saw this image. Now there is a whole train of men masterbating together at this one image. This is all your fault, you could have prevented this if you had just tagged this post NSFW.

      Delete
  4. The Untold Story of The Hero of Britain

    One day Churchill was shitting and suddenly hitler barged into the bathroom. This obviously made him very uncomfortable as his arch enemy was staring at him defecating. Then Hitler fell to his knees and begged Churchill to shit on him. Churchill was extremely weirded out but seeing Hitler's desperate attitude he told him he would do it for a favour. he said hitler had to surrender if he want him to shit on him. hitler agreed. Churchill ordered some extremely spicy food from bengal and started shitting on the fuhrer. the fuhrer enjoyed it for a while but then churchill completely drowned him in half digested bengali grain. So thats how the Great Leader Churchill protected the world from fascism and won WW2.

    ReplyDelete
  5. Hloy shti 😱😱🤯⚡!!!!!!!;! Thats intrestang as frick👻😸⭐ !! I look at pic and think woooowwowowwoww 😮😯😲intrresting....??..?. Scratches chin 🤔🤔🤔very trestingin 🧐made my interesthink !!🤣🤣🤣crazy pun gonna post it on t/clervecomebacks 😎🎤🎤!!! and e/intrrrestingasflute 🐘🦙🦣🦇!!! and f/amongusporn !!!!!!!! Gonna get some karma 🚆💷🕦🐾🍩because people will be like : "dammmm !!! Thats intreestsigj 😵😵😵"

    ReplyDelete
  6. Walter White
    ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠆⠜⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⠿⠿⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿⣿⣿⣿⣿
    ⣿⣿⡏⠁⠀⠀⠀⠀⠀⣀⣠⣤⣤⣶⣶⣶⣶⣶⣦⣤⡄⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿
    ⣿⣿⣷⣄⠀⠀⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⡧⠇⢀⣤⣶⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣾⣮⣭⣿⡻⣽⣒⠀⣤⣜⣭⠐⢐⣒⠢⢰⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⣏⣿⣿⣿⣿⣿⣿⡟⣾⣿⠂⢈⢿⣷⣞⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣷⣶⣾⡿⠿⣿⠗⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠻⠋⠉⠑⠀⠀⢘⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⣿⡿⠟⢹⣿⣿⡇⢀⣶⣶⠴⠶⠀⠀⢽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⣿⣿⣿⡿⠀⠀⢸⣿⣿⠀⠀⠣⠀⠀⠀⠀⠀⡟⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
    ⣿⣿⣿⡿⠟⠋⠀⠀⠀⠀⠹⣿⣧⣀⠀⠀⠀⠀⡀⣴⠁⢘⡙⢿⣿⣿⣿⣿⣿⣿⣿⣿
    ⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⠗⠂⠄⠀⣴⡟⠀⠀⡃⠀⠉⠉⠟⡿⣿⣿⣿⣿
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢷⠾⠛⠂⢹⠀⠀⠀⢡⠀⠀⠀⠀⠀⠙⠛⠿⢿

    ReplyDelete
    Replies
    1. https://www.youtube.com/watch?v=B501g8KP1k4

      Delete