Assembly Display

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

eBay Logo  

HP Pavilion ZE4500 15


HP Pavilion ZE4500 15" Laptop Complete LCD Display Assembly Matte


$29.99


NEW Dell M4500 FHD 1080p Complete Upper Assembly LCD Display 15.6 DH091 LP156WF1


NEW Dell M4500 FHD 1080p Complete Upper Assembly LCD Display 15.6 DH091 LP156WF1


$199.00


Toshiba Satellite R10 R15 Laptop Display LCD LID HINGE Assembly hinges screen


Toshiba Satellite R10 R15 Laptop Display LCD LID HINGE Assembly hinges screen


$83.75


Apple MacBook Pro 17


Apple MacBook Pro 17" Unibody Mid 2010 Display assembly LCD grade A- WORKS


$499.99


609396-001 New HP 10


609396-001 New HP 10" AP5000 POS LCD Display Assembly


$129.89


17


17" PowerBook G4 A1107 LCD Display Screen Assembly Complete! 661-3542 [PARTS]


$39.00


17


17" PowerBook G4 LCD Display Screen Assembly 1600x1050 661-3764 A1139 [TESTED]


$109.00


APPLE MACBOOK AIR A1369 13


APPLE MACBOOK AIR A1369 13" LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK8


$399.00


Apple Macbook 13


Apple Macbook 13" Unibody 2010 A1342 2.4GHz LCD Screen Display Assembly Gloss A-


$189.95


HP TX2000 Complete Touch Screen LCD Display Assembly****Tested and Working****


HP TX2000 Complete Touch Screen LCD Display Assembly****Tested and Working****


$84.99


661-5295 LP154WP4-TLB1 Macbook Assembly Display Screen 15.4


661-5295 LP154WP4-TLB1 Macbook Assembly Display Screen 15.4" LED,LCD A1286 2325


$105.00


13.3


13.3" Toshiba LCD panel Display LTD133KX2S 20pin LED BACKLIGHT ASSEMBLY SCREEN


$65.00


Reduced Macbook Pro 13


Reduced Macbook Pro 13" Unibody Display Assembly A1278


$221.22


Genuine Samsung QX410 QX410-S02US Complete LED HD Screen Display Assembly


Genuine Samsung QX410 QX410-S02US Complete LED HD Screen Display Assembly


$199.99


GATEWAY COMPLETE 14


GATEWAY COMPLETE 14" TABLET PC LCD DISPLAY ASSEMBLY


$49.99


ASUS G1S Laptop Display Assembly


ASUS G1S Laptop Display Assembly


$49.99


Apple G5 20


Apple G5 20" A1076 LCD Display Screen Assembly Philips LM201W01(A5)(K2) 661-3609


$54.00


DV7 4000 Series 17.3 In. LCD Assembly-Repair/Parts Only-Displays a White Screen


DV7 4000 Series 17.3 In. LCD Assembly-Repair/Parts Only-Displays a White Screen


$39.00


2009 Macbook Pro 13


2009 Macbook Pro 13" Unibody A1278 LCD Screen Display Assembly Repair Service


$339.99


APPLE MACBOOK AIR A1370 11 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK52


APPLE MACBOOK AIR A1370 11 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK52


$350.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK53


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK53


$375.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK54


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK54


$425.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK55


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK55


$399.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK56


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK56


$399.00


Apple Powerbook 15 A1095 LCD display Assembly OEM WORKS grade B


Apple Powerbook 15 A1095 LCD display Assembly OEM WORKS grade B


$75.19


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK58


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK58


$450.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK59


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK59


$450.00


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK50


APPLE MACBOOK AIR A1369 13 LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK50


$450.00


NEW Dell Latitude D420 D430 LCD Screen Display Complete Assembly WXGA 12.1


NEW Dell Latitude D420 D430 LCD Screen Display Complete Assembly WXGA 12.1"Matte


$79.99


HP Control panel assembly - Control buttons and display located on - CB537-60109


HP Control panel assembly - Control buttons and display located on - CB537-60109


$268.80


HP Control panel assembly - Control buttons and display located on - CC431-60101


HP Control panel assembly - Control buttons and display located on - CC431-60101


$252.00


Dell RY932 M1000e LCD Enclosure Assembly Display


Dell RY932 M1000e LCD Enclosure Assembly Display


$14.99


MACBOOK PRO UNIBODY 13


MACBOOK PRO UNIBODY 13" LCD DISPLAY WHOLE ASSEMBLY AS IS


$125.00


HP Control panel/display assembly - Complete - 07BP-7000KC


HP Control panel/display assembly - Complete - 07BP-7000KC


$230.00


HP Top cover - Left side top cover - Display panel assembly attache - RG5-6112-0


HP Top cover - Left side top cover - Display panel assembly attache - RG5-6112-0


$230.00


Macbook Pro Display Assembly Excellent condition 2010 i5 i7 models


Macbook Pro Display Assembly Excellent condition 2010 i5 i7 models


$229.00


Compaq Evo N1000c 14


Compaq Evo N1000c 14" XGA Complete LCD Display Assembly


$29.00


Genuine HP nx9000 15


Genuine HP nx9000 15" XGA Complete LCD Display Assembly


$29.00


HP Control panel assembly - Includes the display and control functi - C8140-6703


HP Control panel assembly - Includes the display and control functi - C8140-6703


$254.80


Dell VOSTRO 1720 WXGA+ LCD Display ASSEMBLY 17 RED BEZEL PLASTICS WEBCAM


Dell VOSTRO 1720 WXGA+ LCD Display ASSEMBLY 17 RED BEZEL PLASTICS WEBCAM


$77.99


HP 14.1-inch WXGA BrightView display assembly - Includes two mic - 492171-001


HP 14.1-inch WXGA BrightView display assembly - Includes two mic - 492171-001


$249.60


HP Control panel assembly - Control buttons and display located on - RM1-6518-00


HP Control panel assembly - Control buttons and display located on - RM1-6518-00


$273.00


HP 6820S 17


HP 6820S 17" WXGA BV DISPLAY ASSEMBLY 456583-001/SP


$150.00


HP Control panel assembly - Control buttons and display located on - CB532-60101


HP Control panel assembly - Control buttons and display located on - CB532-60101


$236.60


HP Control panel assembly (220/240V) - Includes display and keypad - RH6-0098-00


HP Control panel assembly (220/240V) - Includes display and keypad - RH6-0098-00


$213.60


HP Scanner control panel assembly - Includes the display and all th - RK2-0232-0


HP Scanner control panel assembly - Includes the display and all th - RK2-0232-0


$210.00


Gateway 600YGR 600YG2 Laptop 15.1


Gateway 600YGR 600YG2 Laptop 15.1" LCD Display Assembly


$29.95


MacBook Pro 15 Inch A1260 A1226 LCD Screen Display Assembly 661-4342 661-4343


MacBook Pro 15 Inch A1260 A1226 LCD Screen Display Assembly 661-4342 661-4343


$240.00


New Dell Adamo Onyx 13.4 LCD Display Assembly Dell D237M 0D237M


New Dell Adamo Onyx 13.4 LCD Display Assembly Dell D237M 0D237M


$149.95


New Lat. D620 LCD LID Display Latch Assembly- NG142


New Lat. D620 LCD LID Display Latch Assembly- NG142


$7.00


DELL STUDIO XPS 1340 13.3


DELL STUDIO XPS 1340 13.3" CCFL DISPLAY WHITE LEATHER COMPLETE SCREEN ASSEMBLY


$69.99


DELL STUDIO XPS 1340 13.3


DELL STUDIO XPS 1340 13.3" DISPLAY WHITE LEATHER COMPLETE SCREEN ASSEMBLY DD1NN


$69.99


DELL STUDIO XPS 1340 13.3IN LCD DISPLAY WHITE SCREEN ASSEMBLY DD1NN CN-0DD1NN


DELL STUDIO XPS 1340 13.3IN LCD DISPLAY WHITE SCREEN ASSEMBLY DD1NN CN-0DD1NN


$69.99


DELL STUDIO XPS 1340 13.3 INCH LCD DISPLAY WHITE COMPLETE SCREEN ASSEMBLY 0DD1NN


DELL STUDIO XPS 1340 13.3 INCH LCD DISPLAY WHITE COMPLETE SCREEN ASSEMBLY 0DD1NN


$69.99


Dell Adamo Onyx 13.4 LCD Display Assembly D237M


Dell Adamo Onyx 13.4 LCD Display Assembly D237M


$95.00


DELL STUDIO XPS 1340 13.3


DELL STUDIO XPS 1340 13.3" LED LCD DISPLAY COMPLETE SCREEN ASSEMBLY BLACK CWFGN


$79.99


DELL STUDIO XPS 1340 13.3 INCH LCD DISPLAY COMPLETE SCREEN ASSEMBLY BLACK 0CWFGN


DELL STUDIO XPS 1340 13.3 INCH LCD DISPLAY COMPLETE SCREEN ASSEMBLY BLACK 0CWFGN


$79.99


DELL STUDIO XPS 1340 13.3IN LCD DISPLAY COMPLETE SCREEN ASSEMBLY BLACK CN-0CWFGN


DELL STUDIO XPS 1340 13.3IN LCD DISPLAY COMPLETE SCREEN ASSEMBLY BLACK CN-0CWFGN


$79.99


DELL STUDIO XPS 1340 13.3


DELL STUDIO XPS 1340 13.3" LED LCD DISPLAY COMPLETE SCREEN ASSEMBLY 0N835C N835C


$79.99


APPLE MACBOOK AIR A1369 13


APPLE MACBOOK AIR A1369 13" LCD LED DISPLAY SCREEN ASSEMBLY MAC LAPTOP NOTEBOOK7


$499.95


HP LED assembly - Status display with cable - Green LED that indica - PA03002-C1


HP LED assembly - Status display with cable - Green LED that indica - PA03002-C1


$236.60


HP Control panel assembly (100/120V) - Includes display and keypad - RG5-1539-00


HP Control panel assembly (100/120V) - Includes display and keypad - RG5-1539-00


$236.60


HP Control panel assembly - Control buttons and display located on - CB395-60101


HP Control panel assembly - Control buttons and display located on - CB395-60101


$235.20


HP Display Assembly - EPPS2710DISPLAYASSY


HP Display Assembly - EPPS2710DISPLAYASSY


$235.20


HP Control panel assembly - Control buttons and display located on - RG5-6563-03


HP Control panel assembly - Control buttons and display located on - RG5-6563-03


$235.20


Apple Macbook Pro 13


Apple Macbook Pro 13" Unibody Display Assembly 661-5232


$350.00


HP Nc2400 12.1-inch TFT WXGA LCD display panel assembly - 412767-001-06


HP Nc2400 12.1-inch TFT WXGA LCD display panel assembly - 412767-001-06


$205.00


HP Control panel assembly - Includes the display and control functi - C8140-6709


HP Control panel assembly - Includes the display and control functi - C8140-6709


$201.25


HP Top cover - Left side top cover - Display panel assembly attache - RG5-6112-0


HP Top cover - Left side top cover - Display panel assembly attache - RG5-6112-0


$262.50


HP 13.3-inch HD LED AntiGlare display assembly (LCD Only) - 581098-001


HP 13.3-inch HD LED AntiGlare display assembly (LCD Only) - 581098-001


$263.75


 DELL Latitude D610 14.1


DELL Latitude D610 14.1" LCD Screen Display Complete Assembly XGA


$44.95


IBM T41 T42 T43 LCD 14.1


IBM T41 T42 T43 LCD 14.1" Display Screen Complete Assembly


$35.00


Genuine Samsung NP-QX411 QX411 Complete Screen Display Assembly


Genuine Samsung NP-QX411 QX411 Complete Screen Display Assembly


$199.99


HP Pavillion DV6000 Display Assembly


HP Pavillion DV6000 Display Assembly


$20.00


Dell XPS 410 420 LCD Display Board Assembly CT587


Dell XPS 410 420 LCD Display Board Assembly CT587


$9.45


496736-001, DV4 14.1


496736-001, DV4 14.1" WXGA LCD ASSEMBLY BRONZE Panel Display Screen


$119.00


HP 8530W 15.4


HP 8530W 15.4" WSXGA+ DISPLAY ASSEMBLY 495044-001


$350.00


FUJITSU Lifebook 5.6


FUJITSU Lifebook 5.6" U820 Genuine Complete LCD Screen Display Assembly "A" GLP


$215.00


MacBook Pro 15 Unibody A1286 2011 LCD Display Assembly Glossy 661-5847 NEW


MacBook Pro 15 Unibody A1286 2011 LCD Display Assembly Glossy 661-5847 NEW


$398.99


Apple Macbook Pro 15


Apple Macbook Pro 15" A1286 Unibody LCD complete display assembly 2010 grade B


$322.99


2010 Macbook 13


2010 Macbook 13" Pro Unibody A1278 LCD Screen Display Assembly Repair Service


$359.99


2011 Macbook Pro 15


2011 Macbook Pro 15" Unibody A1286 LCD Screen Display Assembly Repair Service


$419.99


Apple Mac Unibody Macbook Assembly Display Screen 15.4


Apple Mac Unibody Macbook Assembly Display Screen 15.4" LED,LCD A1286 A2325


$105.00


APPLE MacBook Pro A1278 Display Assembly -Grade B -FAST SHIPPING


APPLE MacBook Pro A1278 Display Assembly -Grade B -FAST SHIPPING


$195.95


IBM  T43 LCD 14.1


IBM T43 LCD 14.1" Display Screen Complete Assembly hinges wifi cable good


$36.99


Aluminum G4 15


Aluminum G4 15" Hook Assembly / Display Latch


$2.95


iPhone 4 LCD Retina Display Assembly Panel


iPhone 4 LCD Retina Display Assembly Panel


$49.95


HP Pavilion 14.1


HP Pavilion 14.1" DV4 LCD Display Screen Assembly


$129.95


*Untested* Dell Latitude D600 Laptop 14.1


*Untested* Dell Latitude D600 Laptop 14.1" LCD Display Top Cover Assembly


$9.95


Genuine HP Mini 210-1000 210-1095NR 10.1' Complete Screen Display Assembly (Red)


Genuine HP Mini 210-1000 210-1095NR 10.1' Complete Screen Display Assembly (Red)


$94.99


Genuine HP Mini 210-1000 210-1095NR Comple Screen Display Assembly


Genuine HP Mini 210-1000 210-1095NR Comple Screen Display Assembly


$94.99


Toshiba Tecra  A4 15.4


Toshiba Tecra A4 15.4" WXGA LCD Display Assembly


$63.75


15


15" Macbook Pro Unibody Display Assembly Cracked LCD Good Glass Inverter


$0.99


OEM Dell Alienware M14x 14


OEM Dell Alienware M14x 14" LCD Screen - Complete LED Display Assembly - Black


$150.00


OEM Dell Alienware M14x 14


OEM Dell Alienware M14x 14" LCD Screen - Complete LED Display Assembly *B*


$150.00


OEM Dell Alienware M11X - Complete Display Assembly 11.6


OEM Dell Alienware M11X - Complete Display Assembly 11.6" LCD Screen F8W3Y


$120.00


OEM Dell Alienware M11X - Complete Display Assembly 11.6


OEM Dell Alienware M11X - Complete Display Assembly 11.6" LCD Screen


$120.00


OEM Dell Alienware M11X - Complete Display Assembly 11.6


OEM Dell Alienware M11X - Complete Display Assembly 11.6" LCD Screen with Hinges


$120.00


374722-001 HP Compaq LCD Screen Dp 17.0


374722-001 HP Compaq LCD Screen Dp 17.0" Wxga+ 17In Wxga Bv Display Assembly


$200.95


485046-001 HP Compaq LCD Screen Dp 15.4


485046-001 HP Compaq LCD Screen Dp 15.4" Wxga Bv 15.4In Wxga+ Display Assembly


$213.95




Thanks for visiting!

Mike posted at 2004-5-22 Category: Computer Components