CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2
  • Faltering Windows support
  • Internet Explorer 8 Click Clever Click Safe
  • Release Candidate 2 for ASP.NET MVC 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > C++ (Non Visual C++ Issues)
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    C++ (Non Visual C++ Issues) Ask or answer C and C++ questions not related to Visual C++. This includes Console programming, Linux programming, or general ANSI C++.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old April 14th, 2006, 01:50 AM
    amitkumartiwari29 amitkumartiwari29 is offline
    Junior Member
     
    Join Date: Apr 2006
    Posts: 1
    amitkumartiwari29 is an unknown quantity at this point (<10)
    Exclamation Machine Code Programming

    HI,
    I am developing OS. I was initially doing it in C and nasm. But now I wish to use Machine code. I know the way to write the machine code but do not know how to execute that code.


    Please let me know that if I wrote a machine language in a text file, how will I execute it.

    Thanks and regards,

    Aslan
    Reply With Quote
      #2    
    Old April 14th, 2006, 05:15 AM
    GaboonViper GaboonViper is offline
    Member
     
    Join Date: Feb 2005
    Posts: 58
    GaboonViper is on a distinguished road (20+)
    Re: Machine Code Programming

    writing Assembly in a text file will do absolutely nothing. You will have to compile the code first. Once you have compiled it you will need to get your compiled code into a bootsector of a harddisk partition. There are certain demands to a bootsector before a computer will execute it, but if it meets the demands, the computer will start up with the code in the bootsector.

    I don't know the specifics, but you could try finding them with google or something.
    Reply With Quote
      #3    
    Old April 14th, 2006, 06:25 AM
    Mitsukai Mitsukai is offline
    Elite Member
     
    Join Date: Aug 2005
    Location: Netherlands, The
    Posts: 2,184
    Mitsukai  is a jewel in the rough (300+) Mitsukai  is a jewel in the rough (300+) Mitsukai  is a jewel in the rough (300+) Mitsukai  is a jewel in the rough (300+)
    Re: Machine Code Programming

    well developing an os is very hard. but i suggest you make a bootsector on a floppy for developing it, since it wontbe that big in the beginning, once you got a little bit further and more confident you shuld continue on a hd partition
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > C++ (Non Visual C++ Issues)


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:00 AM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.