Thread: Assembly HELLPPPPPPPPPPPP

  1. #1
    Tleggo
    Guest

    Assembly HELLPPPPPPPPPPPP

    I had to answer some questions for homework but i can't seem to find the answer to all of them and no one knows the answer to these questions i wanted to know if maybe anyone could help me out??
    OH yeah BTW it's Assembly language.....being that there arent any AL boards out there i figured that maybe some experience C programmers could help me out thanks allot i really appreciate it!


    Assuming that bits 0-4 holds a store a department number and bits 5-7 holds a store number with in the following bit mapped field. What are the values shown here.
    11000101 store= , department =
    00101001 store= , department =
    01010101 store= , department =

    Questions #2
    Assume that you are decoding the file allocation table of 1.44 MB diskette AX contains the previous cluster number and DX contains the current offset into the FAT. Write a series of assembly language statements that will calculate new cluster number and place it in AX?

    Question # 3
    a)Assuming that a buffer is 512 bytes memory buffer, what is wrong in the following subroutine that reads a single sector from drive A ?
    read_sector proc
    mov al, 0
    mov cl, 1
    mov dx,12
    mov bx,offset buffer
    int 25h
    ret
    read_sector endp
    b)What is the offset of the 20h record in the file that contains 50 bytes fixed length records?

    Question #4
    a)If a one side disk has 40 tracks per side and each track contains eight 512 bytes sectors what is the total disk capacity?
    b)What date is indicated by the following date stamp?
    0000101011011010

    Question #5
    Suppose that FH contains the file handle of file open for write and that Date is the address of a byte string of the form MM/DD/YY containing today’s date. Write assembly codes to write date into the current file at the file's current position?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Cant find the answers huh?

    Try your course notes and textbooks........that's what they are for.....

    Jeez.....its not as if you are even trying....

    Please also note the anouncements relating to the completion of homework that are palced on this board...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Learning Assembly
    By mrafcho001 in forum Tech Board
    Replies: 5
    Last Post: 03-12-2006, 05:00 PM
  2. C to assembly interface
    By Roaring_Tiger in forum C Programming
    Replies: 4
    Last Post: 02-04-2005, 03:51 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  5. C,C++,Perl,Java
    By brusli in forum C Programming
    Replies: 9
    Last Post: 12-31-2001, 03:35 AM