The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Computer Hardware Help(school related q's)

_X__X_ Registered User regular
edited November 2006 in Help / Advice Forum
Long story short - missed some classes because of uncontrollable reasons, i found out about this assignment due tomorrow and i cant find out how to do a couple things. My textbook has not a single mention of this stuff and i cant find the information i'm looking for.

Link to my assignment is: http://fleming0.flemingc.on.ca/%7Egwong/assign/hwfun_assign2.pdf

Now the things I'm having trouble with is Page 2 question 2 and 3. Also page 4 question 7.
For Q2. I dont know how to do any of it, if you just want to give some info on how to thats fine or even if you want to do it all, lol.
Q2 - I know how to read the 0F3F:02 part but not the 52, basically the last 2 numbers of the memory dump that i dont know how to find. the 2nd part of that question i can do fine.
Q7 - no clue what to do on that.

Thanks in advance to anyone that can just enlighten me on how to get at least some of this completed.

_X_ on

Posts

  • Sir Red of the MantiSir Red of the Manti Registered User regular
    edited November 2006
    You're lucky that I happen to go to the same college, and that I did this last year.

    For Q2, you're basically finding the hex value listed under the location it specifies before and after you modify that dump. Remember that there are 16 sets of hex entries in each horizontal row, and that they are numbered from 0 to F.
    Example, 0F3F:0238 is looking for the 7 entry in row 0F3F:0230, which is 29h.

    For modifying that dump, you're asked to first move a value from one location to another, which simple enough, is just copying the value from the original location and replacing the value at the new location with it.
    The second part of that asks you to add a base 16 (hex) value to the existing data at the location specified and to store the result there. Just convert both values to binary, which is easy because you're dealing with hex, add, then convert back to hex. The windows calculator in scientific mode provides an effortless way to do that, but remember that you do have to show your work. In that case converting, for example 93h, to binary is just as simple as converting 9 (1001) and 3 (0011) to each of their respective values in binary. Then keeping them together as a string of 8 characters (like 10010011), add them to, say 10h (00010000), remembering that 0+0 = 0, 0+1 =1, 1+1 = 0 with a carry, then taking the result (something like 10100011), converting it back to a hex value, and throwing it in the right slot.
    Then for the third part, you're just shoving that value into the location specified, overwriting the previous entry there.

    As for question 7, you're looking at a SR latch. Wikipedia it up, and you'll find the logic table and short explaination for it. Essentially, you're figuring out the value of Q over time given two inputs. When both inputs are low, Q will stay at whatever value it was previously. When S is high and R is low, Q will set itself to 1. When S is low and R is high, Q will reset itself to 0. Compare those lines vertically to find out what S and R are, where low is 0 and high is 1.
    For example, both S and R start at low inputs (0) in those lines. As the assignment stated, Q would remain a low output (0), and would therefore be drawn as a low line for that segment.

    Sir Red of the Manti on
Sign In or Register to comment.