assembly question

Discussion in 'OT Technology' started by WPInerd, Feb 9, 2005.

  1. WPInerd

    WPInerd New Member

    Joined:
    Apr 5, 2004
    Messages:
    3,247
    Likes Received:
    0
    Location:
    Worcester, MA
    I am doing a lab for my assemble class, and i basically need to make a "beep" sound. it's a subroutine for the actual main program. Is there any set code for that?

    please help



    edit: question answered
     
    Last edited: Feb 9, 2005
  2. WPInerd

    WPInerd New Member

    Joined:
    Apr 5, 2004
    Messages:
    3,247
    Likes Received:
    0
    Location:
    Worcester, MA
    i have one more question though:

    I need to put a display of .01 seconds

    this is what i was given:

    delay01: nop ; 0.1 second delay
    push cx ; so LOOP can be used
    ; code here
    pop cx
    ret


    where it says";code" here i need to put the necessary code
     
  3. WPInerd

    WPInerd New Member

    Joined:
    Apr 5, 2004
    Messages:
    3,247
    Likes Received:
    0
    Location:
    Worcester, MA
    what's the code i need?
     

Share This Page