Results 1 to 5 of 5
  1. #1

    Default unsaon pag load ug program sa memory using assembly language?


    Kinsa ninyo ang nakahibalo kung unsaon pag load ug program sa memory using assembly language?

  2. #2

    Default Re: unsaon pag load ug program sa memory using assembly language?

    For what processor?
    sa PC?

    On a PC, assemby language programs are "assembled" and linked to become .COM or .EXE and can directly run by double clicking it or via console/CMD window by typing its name.

  3. #3

    Default Re: unsaon pag load ug program sa memory using assembly language?

    Quote Originally Posted by cold_fusion
    For what processor?
    sa PC?
    x86 nga Architecture.

    Quote Originally Posted by cold_fusion
    On a PC, assemby language programs are "assembled" and linked to become .COM or .EXE and can directly run by double clicking it or via console/CMD window by typing its name.
    Dili!! Mag-gama unta ko ug Kernel. Pero unsa-on man sa akong kernel para maka load siya ug program padulong sa memory para ma execute iyang code!!!

  4. #4

    Default Re: unsaon pag load ug program sa memory using assembly language?

    Have you tried minix 3(http://www.minix3.org)?

    I think mag-create ka ug processes para siya ma load sa memory.

  5. #5

    Default Re: unsaon pag load ug program sa memory using assembly language?

    Quote Originally Posted by pg_zland
    x86 nga Architecture.

    Dili!! Mag-gama unta ko ug Kernel. Pero unsa-on man sa akong kernel para maka load siya ug program padulong sa memory para ma execute iyang code!!!
    Ok. You could use any x86 assembler direcly compile your code to .COM not .EXE . Data segment and Code segment are moved on .EXE files.

    Make your first command a long jump to CS:7C00. And the rest of your program should start at 7C00. This is very important.
    Then the resulting .COM file, but starting only at offset 7C00 (the 2nd opcode), write it on the boot sector (the first sector of the disk).

    This is the way booting works. When the bios boots, the boot sector is loaded at 0000:7c00 and run the rest from there.

  6.    Advertisement

Similar Threads

 
  1. unsaon pag upload ug pics sa istorya.net photo gallery?
    By mad_scientist77 in forum Support Center
    Replies: 3
    Last Post: 01-08-2012, 05:56 PM
  2. unsaon pag install ug mp3 sa v3i?
    By Genocide in forum Gizmos & Gadgets (Old)
    Replies: 3
    Last Post: 12-21-2007, 02:18 PM
  3. mga sirs unsaon pag download ug games sa PSP thru PC/internet?
    By Master_Lampa in forum Software & Games (Old)
    Replies: 1
    Last Post: 09-29-2007, 02:59 AM
  4. Replies: 0
    Last Post: 03-06-2006, 02:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top