jagomart
digital resources
picture1_Experiment Pdf 191309 | 5138  Microprocessor Lab


 181x       Filetype PDF       File size 0.65 MB       Source: www.madinpoly.com


File: Experiment Pdf 191309 | 5138 Microprocessor Lab
rivision 2015 microprocessor lab 5138 lab manual for college microprocessor lab 5138 polytechnic diploma in computer engineering th 5 semester ma din 1 ma din polytechnic college malappuram rivision 2015 ...

icon picture PDF Filetype PDF | Posted on 04 Feb 2023 | 2 years ago
Partial capture of text on file.
                                             RIVISION-2015                                                                                            MICROPROCESSOR LAB - 5138  
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                                             
                                                                                                          Lab Manual 
                                   
                                   
                                                                                                                        for 
                                                                                                                                                                   COLLEGE
                                   
                                                                                 Microprocessor Lab 
                                                                                                                  5138 
                                                                                     POLYTECHNIC 
                                   
                                                                        Diploma In Computer Engineering 
                                                                                                             th
                                                                                                          5  Semester 
                                           MA'DIN 
                                   
                                   
                                   
                                        1                                                                          MA’DIN POLYTECHNIC COLLEGE, MALAPPURAM 
                      RIVISION-2015                                     MICROPROCESSOR LAB - 5138  
                 
                 
                                                    CONTENTS 
                 
                 
                    EXP                                                                      PAGE 
                     NO                     NAME OF EXPERIMENT                                NO 
                            FAMILIARIZATION OF ASSEMBLER,                                        
                      1     DIRECTIVES AND SYSTEM INTERRUPTS 
                      2     BYTE AND WORD DATA TRANSFER                                          
                      3     BLOCK TRANSFER                                                       
                      4     ARITHMETIC OPERATIONS                                                
                      5     ODD OR EVEN                                                          
                                                                              COLLEGE
                      6     MAXIMUM OF THREE NUMBERS                                             
                      7     PACKED BCD TO ASCII                                                  
                      8     ASCII TO PACKED BCD                                                  
                      9     FACTORIAL                                                            
                     10     STRING REVERSE                                                       
                     11     STRING COMPARISON                                                    
                     12     UPPERCASE TO LOWERCASE                                               
                                         POLYTECHNIC 
                     13     BINARY TO HEX                                                        
                     14     TRANSLATION                                                          
                     15     SORTING                                                              
                     MA'DIN 
                     16     MACRO                                                                
                            APPENDIX-A (SYLLABUS)                                                
                            APPENDIX-B (INSTRUCTION SET)                                         
                   2                                   MA’DIN POLYTECHNIC COLLEGE, MALAPPURAM 
                                   RIVISION-2015                                                                   MICROPROCESSOR LAB - 5138  
                           
                           
                             EXP NO. 1                         FAMILIARIZATION OF ASSEMBLER, 
                                                           DIRECTIVES AND SYSTEM INTERRUPTS 
                           
                             AIM 
                             To familiarize with the NASM assembler, its directives, programming environment and 
                             system interrupts. 
                           
                             OBJECTIVES 
                                       To understand the NASM assembler and its directives. 
                                       To understand the syntax of the assembly language statements. 
                                       To understand the assembling and linking process. 
                                       To understand the x86 programming model. 
                                       To understand the system calls.                                                      COLLEGE
                           
                             PROCEDURE 
                           
                             INTRODUCTION 
                             Each personal computer has a microprocessor that manages the computer's arithmetical, 
                             logical, and control activities. Each family of processors has its own set of instructions for 
                             handling  various  operations.  These  set  of  instructions  are  called  'machine  language 
                             instructions'. A processor understands only machine language instructions, which are strings 
                             of 1's and 0's. However, machine language is too obscure and complex for using in software 
                                                                  POLYTECHNIC 
                             development. So, the low-level assembly language is designed for a specific family of 
                             processors that represents various instructions in symbolic code and a more understandable 
                             form. 
                           
                             BASIC SYNTAX 
                                 MA'DIN 
                             An assembly program can be divided into three sections: 
                                       The .data section, 
                                       The .bss section, and 
                                       The .text section. 
                               3                                                        MA’DIN POLYTECHNIC COLLEGE, MALAPPURAM 
                          RIVISION-2015                                                MICROPROCESSOR LAB - 5138  
                     
                     
                      The .data Section 
                      The data section is used for declaring initialized data or constants. This data does not change 
                      at runtime. We can declare various constant values, file names, or buffer size, etc., in this 
                      section. The syntax for declaring data section is: 
                              section .data 
                     
                     
                      The .bss Section 
                      The bss section is used for declaring variables. The syntax for declaring bss section is: 
                              section .bss 
                     
                      The .text section 
                      The text section is used for keeping the actual code. This section must  begin with the 
                      declaration global _start, which tells the kernel where the program execution begins. The 
                      syntax for declaring text section is:                                   COLLEGE
                              section .text 
                                      global _start 
                              _start: 
                      Comments 
                      Assembly language comment begins with a semicolon (;). It may contain any printable 
                      character including blank. It can appear on a line by itself, like: 
                              ; This program displays a message on screen 
                      or, on the same line along with an instruction, like: 
                              add eax ,ebx  ; adds ebx to eax 
                                                 POLYTECHNIC 
                     
                      Assembly Language Statements 
                      Assembly language programs consist of three types of statements: 
                             Executable instructions or instructions, 
                             Assembler directives or pseudo-ops, and 
                         MA'DIN 
                             Macros. 
                       4                                          MA’DIN POLYTECHNIC COLLEGE, MALAPPURAM 
The words contained in this file might help you see if this file matches what you are looking for:

...Rivision microprocessor lab manual for college polytechnic diploma in computer engineering th semester ma din malappuram contents exp page no name of experiment familiarization assembler directives and system interrupts byte word data transfer block arithmetic operations odd or even maximum three numbers packed bcd to ascii factorial string reverse comparison uppercase lowercase binary hex translation sorting macro appendix a syllabus b instruction set aim familiarize with the nasm its programming environment objectives understand syntax assembly language statements assembling linking process x model calls procedure introduction each personal has that manages s arithmetical logical control activities family processors own instructions handling various these are called machine processor understands only which strings however is too obscure complex using software development so low level designed specific represents symbolic code more understandable form basic an program can be divided i...

no reviews yet
Please Login to review.