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...