Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
thankyou both of you for helping me, i will show my computer architecture teacher and see what he thinks. Without u guys im sure i wouldnt of got this so your help is very much appriciated :smile::thumbsup:
ok does that mean i should replace JP Z, 4 with JP C, CARRY like you did in the example
I have added a line under the jump to say if the condition isnt met, it will jump to the start again. i used your example to replace JP LOOP1 with JP START
im not smart when it comes to stuff like this, it...
Ok thankyou very much for your time i am determinded to get this right
IN A, (0xff) - ok this reads the input from port 0xff
CP A, 0x1b - this compares that value to 0x1b
JP Z, 4 - this jumps to the output on line 4 i think
OUT (0xfb), 0xaa - this will output the value...
im not sure if my replys are working but my college teacher mentioned the cp instructions and that i should use it.
Does anyone know how specificly?
to my understanding it compares 2 value by subtracting one from another or something, im really not sure
Hi, i have a question on computer architecture and its very difficult. My college teacher said the example given has alot of what we need to figure it out so ill post that along with the question as an image
So far i have...
IN A, (0xff)
XOR A, 0x1b
JP LOOP1
OUT (0xfb), 0xaa
I know its wrong...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.