Exercises

 0x12, 0x56, 0x89, 0x23, 0xEF, 0x89, 0x28, 0xC3 0xE2, 0xFF, 0x04, 0x23, 0x49, 0x41, 0x74, 0x3F 0x56, 0x89, 0xAA, 0xB2, 0xC7, 0x38, 0x28, 0x2A 0x28, 0x28, 0x42, 0x73, 0x82, 0xDE, 0xF3, 0x28 
  1. Show 128-bit data for SSE in proper endian order, for 8-bit, 16-bit, 32-bit, and 64-bit block sizes.

  2. 128 bits = four single-precision floats. How wide would the next generation processor have to be for quad vector double-precision? Write a memory handler for this new hypothetical type processor.

  3. Future super matrix processors will be able to number-crunch entire matrices at a time. How wide would the data path be? Write an alignment macro for that width. Hint: There are two primary solutions!

  4. Earlier in this chapter the function HexDmp32() demonstrated a 32-bit (8 ASCII byte) hex dump. Write a slightly different function that prints a string of 8-bit bytes in hex of a specified count.

     void HexDmp(byte *pData, uint nCount); 


32.64-Bit 80X86 Assembly Language Architecture
32/64-Bit 80x86 Assembly Language Architecture
ISBN: 1598220020
EAN: 2147483647
Year: 2003
Pages: 191

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net