CSE 322 Summer 2018 Lab 11
Problem 1 (Chapter 10 question 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 letters… Read more »
Problem 1 (Chapter 10 question 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 letters… Read more »
Problem 1 (section 10.7) Encoding and Decoding string using XLAT instruction //Code Title secret message .Model small .stack 100h .data ; ;ABCDEFGHIJKLMNOPQRSTUVWXYZ code_key db 65 dup(‘ ‘), ‘XQPOGHZBCADEIJUVFMNKLRSTWY’ db 37… Read more »
Problem 1 Write a procedure to find the factorial of a number present in cx. //Code fact proc mov ax, 1 top1: mul cx loop top1 ret fact endp Problem… Read more »
Problem 1 An example procedure //Code .MODEL small .STACK 256 .data .code main proc mov ax, @data mov ds, ax mov ax, 3 mov bx, 4 call addd Exit: mov… Read more »
Problem#1 Binary input //Code XOR BX, BX MOV AH, 1 INT 21H WHILE: CMP AL, 0DH JE END_WHILE AND AL, 0FH ; SUB AL, 30 SHL BX,1 OR BL, AL… Read more »
Lecture from Lab doc 3 ->Logic Instructions not, and, or, xor, test //code mov ax, 1111111100000000b mov bx, 0000000011111111b and ax, bx and bx, ax and ax, 0111111111111111b or ax,… Read more »
Below are the group list with the project name required for this lab. If any one of you have problem with name and/or roll numbers contact me as soon as… Read more »
Task 1 (Exercise 6.8) Write a program to display a “?”, read two capital letters, and display them on the next line In alphabetical order. //Code To Be Done By… Read more »
Task 1 (Example 6.4) If AX contains a negative number, put -1 In BX; if AX contains 0, put 0 In BX; if AX contains a positive number, put 1… Read more »
Task 1 (eg 6.1) //code mov ax, 70h mov bx, 60h cmp ax, bx jg label1 jl label2 label1: mov cx, ax jmp end_ label2: mov cx, bx end_: Task… Read more »