Results 1 to 4 of 4

Math Help - EMU8086 programming

  1. #1
    Member
    Joined
    Feb 2009
    Posts
    130

    EMU8086 programming

    Hi everyone,
    Need help with EMU8086 programming language, mot familiar with this language.
    Question:
    Construct the 8086 program to execute in accordance to the flowchart below:
    Note: You need to use a freeware called EMU8086 for this particular question.

    BEGIN
    |
    Move immediate 1 to a1 and 2 to b1
    |
    b1=a1-b1
    |
    ch=a1+b1
    |
    END
    What are the final values of all main registers upon termination of the program? Use manual calculation and prove your answer via a print screen of your simulated program.
    Really appreciate if someone can help me with the program, thank you in advance for all your kind help & support.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member Failure's Avatar
    Joined
    Jul 2009
    From
    Zürich
    Posts
    555
    Quote Originally Posted by anderson View Post
    Hi everyone,
    Need help with EMU8086 programming language, mot familiar with this language.
    Question:
    Construct the 8086 program to execute in accordance to the flowchart below:
    Note: You need to use a freeware called EMU8086 for this particular question.

    BEGIN
    |
    Move immediate 1 to a1 and 2 to b1|
    |
    b1=a1-b1
    |
    ch=a1+b1
    |
    END
    What are the final values of all main registers upon termination of the program? Use manual calculation and prove your answer via a print screen of your simulated program.
    Really appreciate if someone can help me with the program, thank you in advance for all your kind help & support.
    After the execution of "move immediate 1 to a1, and 2 to b1", we have that a1=1 and b1=2.
    After execution of "b1=a1-b1" we still have a1=1, but now b1=1-2=-1.
    After execution of "ch=a1+b1" we still have a1=1 and b1=-1. Furthermore, we have that ch=1+(-1)=0.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Feb 2009
    Posts
    130
    thank you for responding, really appreciate your kind help & support. i really need help constructing the program... really hope someone can help me with the program because i dont have background of EMU8086,really hoping to learn.

    thank you in advance for all your kind help & support.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by anderson View Post
    thank you for responding, really appreciate your kind help & support. i really need help constructing the program... really hope someone can help me with the program because i dont have background of EMU8086,really hoping to learn.

    thank you in advance for all your kind help & support.
    I'm not sure that MHF is the right place for this 8086 assembler is not something that is covered by mathematics, you would probably be better off with a programming forum.

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Programming For HP 48G+
    Posted in the Calculators Forum
    Replies: 0
    Last Post: February 3rd 2009, 04:09 AM
  2. Replies: 1
    Last Post: November 17th 2008, 04:18 AM
  3. Please help on R programming
    Posted in the Math Software Forum
    Replies: 0
    Last Post: August 16th 2008, 03:51 AM
  4. Linear Programming...
    Posted in the Pre-Calculus Forum
    Replies: 2
    Last Post: July 16th 2008, 03:31 PM
  5. Linear Programming
    Posted in the Advanced Applied Math Forum
    Replies: 6
    Last Post: July 15th 2008, 04:57 AM

Search Tags


/mathhelpforum @mathhelpforum