emu8086 - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Hardware > System Upgrades
Closed Thread
Thread Tools Display Modes
Old 04-07-2006, 05:11 AM   #1 (permalink)
Monster Techie
aj2003's Avatar
Join Date: Jan 2004
Posts: 1,094
Default emu8086

I know this is not hardware but Its not really a windows program either. Ive got an assignment for you and I havent got a clue how to do this question.

I have some code for a hex to binary convertor, very simple. Its using the emu8086 assembler emulator

lf equ 0Ah
cr equ 0Dh
mess3 db lf,cr,"Processed output is: $"
mess1 db lf,lf,cr,"Type a single hex digit (0 to 9, a to f)"
db lf,cr,"or any other key to terminate program: $"
mess2 db lf,cr,"Error in input. Program terminating.$"
h2b db "0000$","0001$","0010$","0011$","0100$","0101$","0 110$","0111$"
db "1000$","1001$","xxxxx","xxxxx","xxxxx","xxxxx","x xxxx","xxxxx"
db "xxxxx","1010$","1011$","1100$","1101$","1110$","1 111$"
dw 100 dup(0)
start PROC FAR
mov ax,DSEG
mov ds,ax

That is the 1st 19lines of it, and i have to edit out the "xxxxx" somehow. Any ideas would be appriciated, i know its a long shot.
AMD x2 5000+ black edition at 3.3GHZ zalman cnps 9700-NT
Gigabyte GA-M57SLI-S4 motherboard
3072mb: OCZ ddr800 gold
2x 7800GTX in SLI for 20" viewsonic
OCZ 600watt power supply
www.angelic-accessories.co.uk - plug for my gfs site
aj2003 is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.