HW2-3750

HW2-3750 - 1 OVER EE 3750 Homework 2 due Mon., October 1,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 OVER EE 3750 Homework 2 due Mon., October 1, 2001 1. Write an 8086 assembly language instruction sequence to copy the odd numbered elements of byte array RED (from elements 1, 3, 5, 7, ) to consecutive elements of byte array BLUE (to elements 0, 1, 2, 3, ). Let RED have 100 elements, indexed 0 through 99. 2. Given the register and memory contents listed below, list the changed registers and memory locations and their contents after each instruction below executed in sequence. You can identify memory locations by variable name or effective address. Contents: All integers in this problem are written in hexadecimal. Let AX = 41C, BX = 38DD, CX = 127, SP = 1984, GREEN = 670, contents of the word at the top of the stack = 3234. The effective address of GREEN is 8A14. XCHG BX, CX PUSH AX LEA AX, GREEN SUB AX, 12H POP BX 3. Many image filtering approaches produce new pixel values by multiplying a window of pixel values by corresponding elements of a window of coefficient values, adding the products, then...
View Full Document

Page1 / 2

HW2-3750 - 1 OVER EE 3750 Homework 2 due Mon., October 1,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online