Wednesday, March 19, 2014

MPP experiment 6

EXP6-part 1 Programme to transfer string from ds to es .model small .stack 10h data segment array db 02h, 04h , 06h, 07h , 10h array_cpy db 10 dup (?) data ends code segment assume cs:code,ds:data start :                                 mov ax,data                                 mov ds,ax                          ...

Wednesday, March 5, 2014

SAS assignment 3 and 4

Update: It has been brought under my notice that the uploaded assignments are faulty, please proceed with caution. Message to those who blinded copied:Tension not! Sir doesn't read the assignment contents anyway :P Click here to download assignment 3! Click here to download assignment 4! Credits: Anson Alappa...

Tuesday, March 4, 2014

MPP Experiment 4

The download contains both the algorithms and flowcharts along with the answer to Q3. Q1 can be found in techmax/technical and Q2 is fairly easy, so it has been skipped. CLICK HERE TO DOWNLOAD! Here are the codes: SMALLest number: .model small .stack 100h data segment array db 50h,20h,99h,30h,40h,10h,60h,70h,80h,90h max db 0ffh data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax xor dl,dl mov cl,0Ah lea bx,array mov al,max back: cmp al,[BX+DI] jc skip mov dl,[BX+DI] mov al,dl skip: inc di dec cl jnz back mov max,al hlt code...

Monday, February 10, 2014

Saturday, February 8, 2014

MPP Experiment 3

16-BIT DIVISION IN 8086 .MODEL SMALL .STACK 100H DATA SEGMENT NUM1 DW 4567H,2345H NUM2 DW 4111H QUO DW 2 DUP(0) REM DW 1 DUP(0) DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START: MOV AX,DATA MOV DS,AX MOV AX,NUM1 MOV DX,NUM1+2 DIV NUM2 MOV QUO,AX MOV REM,DX INT 21H CODE ENDS END START INPUT:     Dividend - 23454567,            Divisor - 4111, OUTPUT:    AX – 8AC5H (quotient);            DX – 0952H (reminder); 16-BIT MULTIPLICATION IN 8086 .MODEL SMALL .STACK 100H DATA...

Tuesday, January 28, 2014

TASM for Windows

Author: Borland Email: None Website: http://www.borland.com/ Released: Feb 20 1996 Platform: Windows Source: www.phatcode.net Binaries: Yes Summary: Turbo Assembler 5 is the last version of the popular assembler by Borland, with both DOS and Windows assemblers. TASM has full 8088, 8086, 80286, 80386, i486, and Pentium support, as well as interface support for C, C++, Pascal, FORTRAN, and COBOL. A full-screen interactive debugger (Turbo Debugger) is also included. The download below includes the original install disks for TASM 5.0, along with...

MPP Experiment 2

a) 32-bit addition for signed and unsigned numbers b) 32-bit subtraction for signed and unsigned numbers, now let me write programs to each one of them::  1) To write 8086 Assembly Language Program to add two 32-bit signed & unsigned number. 2) To write 8086 Assembly Language Program to Subtract two 32-bit signed & unsigned number: 2) List the differences between 8085 and 8086 microprocessors. ...

MPP experiment 1

Questions: a) List 8-bit and 16-bit registers present in 8085. Answer: The 8085/8080A-programming model includes six registers, one accumulator, and one flag register, as shown in Figure. In addition, it has two 16-bit registers: the stack pointer and the program counter. They are described briefly as follows. The 8085/8080A has six general-purpose registers to store 8-bit data; these are identified as B,C,D,E,H, and L as shown in the figure. They can be combined as register pairs -  BC, DE, and HL - to perform some 16-bit operations. The...

Saturday, January 25, 2014

SAS assignment 1

Below is the link to the answers to assignment number 1 of SAS in compressed zip format. CLICK HERE TO DOWNLOAD! File size: 16.09MB CORRECTIONS: (1) There is also a minute correction on page 10, question 5, 4th sum. The final answer posted earlier is correct but still please refer to the solution here: Correction in page 10! DISCLAIMER: The uploads are done for doubt solving in case you get stuck at some point! Don't just copy blindly...