1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Computer Science

  1. Jan 23, 2005 #1
    OK i have this question that i do not understand at all. please help if you can.

    The hexadecimal dump from part of a computer's memory is as follows:

    0000: 4265 6769 6EFA 47FE B087 0086 3253 7A29
    0010: C800 E000 0000

    The dump is made up of rows of groups of four hexadecimal characters. Each row
    contains up to nine 16-bit groups. The first group of a row (terminated by a colon)
    is an address and defines the first location into which the following groups are to
    be loaded. For example, the first group in the second row is $0010. The second group
    is $C800 which is the contents of location $0010. The next group, $E000, is the
    contents of $0012 and so on. The 22 bytes of data represent the following sequence
    of items:

    a. five consecutive ASCII-encoded characters
    b. one unsigned 16-bit integer
    c. one two's complement 16-bit integer
    d. one unsigned 16-bit fraction
    e. one 6-digit natural BCD integer


    Interpret the hexadecimal dump and convert it into the items above. For example,
    convert the floating point numbers to decimal form.


    and here's alittle help from the teacher "The hexadecimal values represent a dump of memory. You are to interpret the hexadecimal values according to the sequence required. The first part of the dump (starting at 0000) is for the storage of 5 consecutive ASCII-encoded characters, after that is one unsigned 16-bit integer is stored, after that one two's complement 16-bit integer is stored, etc. Interpret the hexadecimal values starting at location 0000 for the sequence of values listed."

    am i suppose to convert '47FE' to "a. five consecutive ASCII-encoded characters" and 'B087' to "b. one unsigned 16-bit integer" etc...?
     
  2. jcsd
  3. Jan 23, 2005 #2
    Here is a similar solved problem.

    Mark
     
  4. Jan 23, 2005 #3
    the solution was helpful, but i need an explanation because i am very confused.


    The hexadecimal dump from part of a computer's memory is as follows:

    0000: 4265 6769 6EFA 47FE B087 0086 3253 7A29
    0010: C800 E000 0000

    please help me with part (a) to get me started.
    "a. five consecutive ASCII-encoded characters"

    am i suppose to convert 47FE to ASCII?so would it be like...
    47 = G
    FE = ? not on table,hmm... i am so lost
     
  5. Jan 23, 2005 #4
    ASCII characters are eights bits apiece, and the first five eight-bit values are 42 65 67 69 6E.

    Mark
     
  6. Jan 24, 2005 #5
    ahhh, i get it. thanks alot
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?