Checkout
checkout
view
Your Cart Your Cart: item(s)
Subjects -> Computer Science -> Other -> Posting #61353
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Other
Year 1

An 8086 subroutine that multiplies two signed 16-bit values together without using the mul instruction.


I'm trying to teach myself 8086 assembly.  I need an example of how to use an assembly language subroutine, using only 16-bit registers, to multiply two signed 16-bit values together without using the mul instruction.   My book gives the example below but doesn't give a clear explanation of how to use it:

a) clear the a register
b) place the multiplicand in the D register
c) do the next step 4 times (multiplying 4 bit numbers).  if the left most bit of the D
    register is a 1 then shift both registers to the left one bit, add the multiplier to the
    A register, else shift both registers to the left one bit.

By OTA:  Rashmi Gupta, MCA

OTA Rating:  4.5/5

Your Price:  $2.19  (original value ~$59.85)

What's included:

  • Plain text response
  • Attachment(s):
    • multiply_without_mul.zip
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
8086 programming with file type .asm - Convert any binary number found in register AX to the equivalent ASCII code for each hexadecimal nibble in AX. Place the ASCII code for the hexadecimal number in AX starting at offset location 0000. Example: AX = 3030 ;ASCII for 00 [0800] = 41h after conversion (ASCII A) Note: Please write in assembly language programming code for 8086.
Advanced Instructions: Convert any hexadecimal number ... Multiply the byte in register ... - Write complete programs for the following problems. 1. Convert any hexadecimal number from 00 to 63h placed in AX into its equivalent unpacked BCD number in AX. 2. Multiply the byte in register AL by the byte in register BL. Place the result in AX.
8086 Family Architecture - Write and assemble the following programs and include the start and end addresses for all memory addresses. Show results in following format: 0000h 3Dh mov a,01h 0001h 01h 0002h 3Fh mov [1000h],a 0003h 00h Problem: Clear all memory locations from 2000h to 200Ah. Make every odd bit in memory address C000h and D000h a 0. Do not chan...
The 8086 Family Architecture - Use the nine PAL instructions listed below to solve the problems: MOV A,num MOV A,[addr] MOV [addr], A MOV B,A MOV A,B OR A,B NOT A GO addr *Provide the answer in the following format: Code Memory Contents of Code Address Instruction Address Memory Address 0000h ...
8086 Family Architecture - Write and manually assemble the following programs. All memory addresses include the starting and ending addreses. Show comments and identified source codes. 1. Clear (place 0s) in all memory locations from 2000h to 200Ah. 2. Make every odd bit in memory addreses C000h and D000h a 0. Do not change any other bit at each address.

Page generated in 0.0163 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples