4 Replies - 795 Views - Last Post: 11 October 2014 - 10:15 PM

#1 Kinggadino   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-October 14

Assembly Instructions in Logic Gate Form

Posted 11 October 2014 - 04:58 PM

I am currently trying to create a CMP function using Logic Gates but I keep on failing. I was wondering if someone could have a look at it and tell me what is wrong. Also if you can please help me with the other instructions such as JMP, INC, DEC, CALL, INT, etc. I have included an attachment of my diagram (just look at the large diagram, the truth table is most probably incorrect since i have changed some of the diagram since then). L1 is if a is greater or lesser than b and L2 is if they are equal.

Thanks, King

Is This A Good Question/Topic? 0
  • +

Replies To: Assembly Instructions in Logic Gate Form

#2 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12683
  • View blog
  • Posts: 45,866
  • Joined: 27-December 08

Re: Assembly Instructions in Logic Gate Form

Posted 11 October 2014 - 05:29 PM

Moved to Assembly.

Your work is not included. Please attach your diagrams.
Was This Post Helpful? 0
  • +
  • -

#3 Toadill   User is offline

  • D.I.C Regular

Reputation: 40
  • View blog
  • Posts: 434
  • Joined: 08-January 12

Re: Assembly Instructions in Logic Gate Form

Posted 11 October 2014 - 05:32 PM

which instruction set are you working with?

x86

This post has been edited by Toadill: 11 October 2014 - 05:33 PM

Was This Post Helpful? 0
  • +
  • -

#4 Kinggadino   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-October 14

Re: Assembly Instructions in Logic Gate Form

Posted 11 October 2014 - 07:49 PM

View PostKinggadino, on 11 October 2014 - 04:58 PM, said:

I am currently trying to create a CMP function using Logic Gates but I keep on failing. I was wondering if someone could have a look at it and tell me what is wrong. Also if you can please help me with the other instructions such as JMP, INC, DEC, CALL, INT, etc. I have included an attachment of my diagram (just look at the large diagram, the truth table is most probably incorrect since i have changed some of the diagram since then). L1 is if a is greater or lesser than b and L2 is if they are equal.

Thanks, King


Here's the Link: https://drive.google...iew?usp=sharing
Or the upload.Attached Image

View Postmacosxnerd101, on 11 October 2014 - 05:29 PM, said:

Moved to Assembly.

Your work is not included. Please attach your diagrams.

Here's the picture: https://drive.google...iew?usp=sharing
or you can look at the image in the post.

View PostToadill, on 11 October 2014 - 05:32 PM, said:

which instruction set are you working with?

x86

Just some of the more basic x86 functions, all of my logic diagrams are 2 bits though!
Was This Post Helpful? 0
  • +
  • -

#5 Kinggadino   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-October 14

Re: Assembly Instructions in Logic Gate Form

Posted 11 October 2014 - 10:15 PM

Never mind, I got this working!!!
Here is the diagram: https://drive.google...iew?usp=sharing
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1