CSE 322 Spring 2021 Lab 2
Task #1 Write a program to (a) prompt the user, (b) read first, middle, and last initials of a person’s name, and (c) display them down the left margin. Sample… Read more »
Task #1 Write a program to (a) prompt the user, (b) read first, middle, and last initials of a person’s name, and (c) display them down the left margin. Sample… Read more »
Task #1 General structure of Assembly code and printing characters. //Solution .MODEL small .STACK 100H .DATA .CODE MAIN PROC MOV AH, 2 MOV DL, 41h INT 21h ;For a New… Read more »
Simulation lab 2. Lab report has to be submitted. The list below shows the list of tasks and information to be submitted in the lab report. Task#1 Simulation of a… Read more »
Simulation lab starts. Lab report has to be submitted. The list below shows the list of tasks and information to be submitted in the lab report. Task#1 Installation of Proteus… Read more »
Problem #1 (Chapter 10 Problem 9) Write a program that uses XLAT to (a) read a line of text, and (b) print It on the next line with all small… Read more »
Problem #1 (Example 10.3) String read and write //Solution .MODEL small .STACK 100h .DATA w dw 10,15,30,40,50,60,70,80,90,’$’ crlf db 0dh, 0ah, ‘$’ .CODE MAIN PROC mov ax, @data mov ds,… Read more »
Problem #1 (Program listing 11.1, 11.2, 11.3) String read and write //Solution .MODEL small .STACK 100h .DATA str db “Hello World$” str2 db 80 dup(0) crlf db 0dh, 0ah, ‘$’… Read more »
Problem #1 (Program listing 9.2, 9.3, 9.4) Decimal input output procedure //Solution .MODEL small .STACK 256 .DATA .CODE MAIN PROC mov ax,@data mov ds,ax call indec push ax mov ah,… Read more »
Problem #1 Introduction to stack //Solution Lat sheet 4 page 1-2 //Code .MODEL small .STACK 4h .DATA .CODE MAIN PROC mov ax, @data mov ds, ax mov ax, 0f0fh push… Read more »
Problem #1 (Chapter 7 examples) Introduction to logical instructions //Solution mov ax, 01010101b mov bx, 10101010b ;And Instruction: Logical AND and the result is stored in the first register mov… Read more »