Advertisement

07.23.2008 at 03:32PM PDT, ID: 23590438
[x]
Attachment Details

Convert 80x86 assembly code to C Part 3

Asked by atomicgs12 in Assembly Programming Language, C Programming Language

I need to convert some intel/wind32 asm code to c code. See below.

int tick = 0;
 __asm  out 070h, al
__asm  xor ax, ax
__asm  in  al, 071h

__asm       mov word ptr tick, ax

please feel free to ask questions if there is anything I left out
ThanksStart Free Trial
[+][-]07.23.2008 at 03:49PM PDT, ID: 22074659

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Assembly Programming Language, C Programming Language
Sign Up Now!
Solution Provided By: msmits
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.23.2008 at 03:55PM PDT, ID: 22074702

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 01:01AM PDT, ID: 22076898

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 02:36AM PDT, ID: 22077332

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 12:36PM PDT, ID: 22091623

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628