ClickHere

Assembly Display

Sony VAIO PCG-GR290P 881L 15 Sony VAIO PCG-GR290P 881L 15" LCD DISPLAY ASSEMBLY
$49.94

Assembly LCD Display Gateway MA3 MX6431 MX6439 MX6446 Assembly LCD Display Gateway MA3 MX6431 MX6439 MX6446
$70.54

HP 2510P 12.1 WXGA DISPLAY ASSEMBLY 451741-001/SP HP 2510P 12.1 WXGA DISPLAY ASSEMBLY 451741-001/SP
$200.00

Compaq Evo N600C LCD Assembly Display Complete / Hinges Compaq Evo N600C LCD Assembly Display Complete / Hinges
$9.99

Compaq Evo N600C LCD Assembly Display Complete / Hinges Compaq Evo N600C LCD Assembly Display Complete / Hinges
$9.99

CLEVO D27ES COMPLETE 14 CLEVO D27ES COMPLETE 14" LCD DISPLAY ASSEMBLY
$60.00

Apple PowerBook G4 17 Display Assembly 661-2824 Apple PowerBook G4 17 Display Assembly 661-2824
$60.00

Compaq Evo N600c LCD Screen Assembly Display Compaq Evo N600c LCD Screen Assembly Display
$12.95

Compaq Evo N600c LCD Screen Assembly Display 241434-001 Compaq Evo N600c LCD Screen Assembly Display 241434-001
$42.99

Compaq Evo N600c LCD Screen Assembly Display 241434-001 Compaq Evo N600c LCD Screen Assembly Display 241434-001
$42.99

Dell Latitude D820 D830 15.4 WSXGA LCD Display Assembly Dell Latitude D820 D830 15.4 WSXGA LCD Display Assembly
$99.99

HP Compaq nc6400 Display Assembly 418907-001 HP Compaq nc6400 Display Assembly 418907-001
$49.99

DELL  Assembly Cable Input/Output Display Analog 1501FP DELL Assembly Cable Input/Output Display Analog 1501FP
$39.00

Dell Studio XPS 1640 Full LCD Display Screen Assembly Dell Studio XPS 1640 Full LCD Display Screen Assembly
$175.99

Dell Latitude D820 D830 15.4 WSXGA LCD Display Assembly Dell Latitude D820 D830 15.4 WSXGA LCD Display Assembly
$99.99

HP Compaq nc6120 Display assembly w/wireless cables HP Compaq nc6120 Display assembly w/wireless cables
$0.99

531782-001 NEW HP LCD DISPLAY CABLE ASSEMBLY SERIES DV3 531782-001 NEW HP LCD DISPLAY CABLE ASSEMBLY SERIES DV3
$39.95

New-Compaq Armada M700 LCD Display Assembly 135219-001 New-Compaq Armada M700 LCD Display Assembly 135219-001
$59.00

Dell XPS M1210 12.1 Dell XPS M1210 12.1" WXGA LCD Screen Display Assembly
$119.99

Apple iMac 17 Apple iMac 17" Display Assembly
$0.99

HP Pavilion dv9000 17 HP Pavilion dv9000 17" Display Assembly 432950-001
$99.00

Dell XPS m1210 LCD Display Assembly Dell XPS m1210 LCD Display Assembly
$69.99

HP 15.4 HP 15.4" UXGA TFT LCD Display Assembly 382683-001
$65.00

Gateway MT6705 MT6709 MT6711 Full Assembly LCD Display Gateway MT6705 MT6709 MT6711 Full Assembly LCD Display
$72.99

IBM ThinkPad R30 Laptop 15 IBM ThinkPad R30 Laptop 15" LCD Screen Display Assembly
$54.99

COMPAQ M300 11.3 COMPAQ M300 11.3" LCD SCREEN DISPLAY PANEL ASSEMBLY
$29.99

Compaq Evo N600c Display Assembly, Inverter, Data Cable Compaq Evo N600c Display Assembly, Inverter, Data Cable
$38.95

Assembly LCD Screen 14.1 Acer Travelmate 2480 Display Assembly LCD Screen 14.1 Acer Travelmate 2480 Display
$89.99

HP Compaq NC6000 LCD Screen Assembly Display 344396-001 HP Compaq NC6000 LCD Screen Assembly Display 344396-001
$20.00

DELL  LATCH ASSEMBLY FOR DISPLAY BEZEL 93928 DELL LATCH ASSEMBLY FOR DISPLAY BEZEL 93928
$45.00



Write an assembly program that reads Quantity and Unit price as a string (ASCII) and convert them to decimal.?

Calculate the total price= Quantity * Unit price.

Convert total price to string (ASCII) and display it on the screen.

Your program should use at least three Macros:

First Macro: converts from string (ASCII) to decimal.
Second Macro: convert from decimal to string (ASCII).
Third Macro: Multiply two numbers.
Note: You can use Irvine library to read or write string.

Cannot help you with the details, it’s been a couple of decades since I’ve done assembler so won’t even hazard a guess.

What you need to do to convert the string is iterate through each character, from the left side subtracting the value 30h (48 decimal – that is ASCII 0) from each character to get it’s numeric equivalent.

As you convert each character you will add it to a running total, but the total must be multiplied by 10 before each addition. This will handle the character positions.

Sony VAIO PCG-GR290P 881L 15 Sony VAIO PCG-GR290P 881L 15" LCD DISPLAY ASSEMBLY
$49.94

Assembly LCD Display Gateway MA3 MX6431 MX6439 MX6446 Assembly LCD Display Gateway MA3 MX6431 MX6439 MX6446
$70.54

HP 2510P 12.1 WXGA DISPLAY ASSEMBLY 451741-001/SP HP 2510P 12.1 WXGA DISPLAY ASSEMBLY 451741-001/SP
$200.00

Compaq Evo N600C LCD Assembly Display Complete / Hinges Compaq Evo N600C LCD Assembly Display Complete / Hinges
$9.99

Compaq Evo N600C LCD Assembly Display Complete / Hinges Compaq Evo N600C LCD Assembly Display Complete / Hinges
$9.99

CLEVO D27ES COMPLETE 14 CLEVO D27ES COMPLETE 14" LCD DISPLAY ASSEMBLY
$60.00

Apple PowerBook G4 17 Display Assembly 661-2824 Apple PowerBook G4 17 Display Assembly 661-2824
$60.00

Compaq Evo N600c LCD Screen Assembly Display Compaq Evo N600c LCD Screen Assembly Display
$12.95

Compaq Evo N600c LCD Screen Assembly Display 241434-001 Compaq Evo N600c LCD Screen Assembly Display 241434-001
$42.99

Compaq Evo N600c LCD Screen Assembly Display 241434-001 Compaq Evo N600c LCD Screen Assembly Display 241434-001
$42.99

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

ClickHere


?>