Thread: Operator definitions

  1. #1
    Registered User
    Join Date
    Jan 2012
    Location
    Las Vegas, NV
    Posts
    5

    Operator definitions

    What is the process responsible for writing and reading from memory? Basically I'm looking for the core process responsible for this, I'll try and be more clear: When an operator such as "=" is used what is the process and where may I find this process to take a look at the inner workings there of? When I use a variable in another function and output this variable to a file/stdout/etc., what is responsible for retrieving this variable and where may I find it to review the inner workings thereof?

  2. #2
    Registered User
    Join Date
    Apr 2012
    Location
    Michigan
    Posts
    6
    okay...

    int i;
    i = 10;
    printint(i);

    /* goes a little something like this...No need to show you how to balance stack.
    start:
    mov i,10
    push i
    call printint
    end start

    proc printint
    pop eax
    // now i is here, in eax,
    end proc
    */

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    O_o

    What? That isn't even..what? I'm going to assume that's supposed to be assembly, albeit assembly with variables for registers, "end"/"proc"/other instructions that don't exist, and an unbalanced push/pop.

    Also, even if it was correct code, how would demonstrating function calls be relevant?

  4. #4
    Registered User
    Join Date
    Jan 2012
    Location
    Las Vegas, NV
    Posts
    5
    cowell_theodore, that's precisely what I was needing to hear. Thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 23
    Last Post: 03-07-2011, 05:28 PM
  2. #definitions
    By errigour in forum C Programming
    Replies: 1
    Last Post: 11-11-2010, 08:24 AM
  3. c++ definitions and explanations help
    By yosimba2000 in forum C++ Programming
    Replies: 10
    Last Post: 06-27-2010, 03:28 AM
  4. Help on definitions
    By GAMEPROJOE in forum C++ Programming
    Replies: 2
    Last Post: 07-18-2003, 01:59 PM
  5. definitions?
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 06-16-2002, 09:59 PM