Recent content by nothingasis

  1. N

    Assembly Language 80x86 Debug Help?

    How considerate, much much appreciated carnageX. :) And yeah Assembly language is a B*TCH to troubleshoot.. especially when the CORRECT information is vital from the first line of the main. >.< Anyhow, thanks again for the tips!
  2. N

    Assembly Language 80x86 Debug Help?

    Did that exactly, before every mov instruction I cleared out the register with 0h. After it was occupied I walked through to check the values are correct and all checks out. I'll have to go to my professor tomorrow and have him walk me through my mistakes. Thank you though!
  3. N

    Assembly Language 80x86 Debug Help?

    I appreciate your advice nonetheless. Ive been running break points at the key points right before my final calculations and display and the div takes the value in EAX as the dividend of the operation but for some reason it just comes out wrong. I'll keep running breakpoints and check out the...
  4. N

    Assembly Language 80x86 Debug Help?

    Hey, can't figure out what's wrong with this file. The div instruction displays the wrong result. I'm using Visual Studios to compile this, the template file can be provided if needed. Objective is to display the the result of a div instruction where the dividend is stored in register EAX. The...
  5. N

    x300 Terminal Running NCX-2000-XP mouse not working

    Okay so I was troubleshooting at an apartment today and they have a virtualization system set up running x300 access terminal and ncx-2000-xp control center. The issue they're having is that the mouses don't work for either desktop but the keyboards do. However, the host machine itself is also...
  6. N

    Pointers and Arrays Question

    Code:: int Array[] = {1,2,3,4,5,6}; int *Ptr = 0; iPtr = &Array[0]; Ptr = Ptr - 2; cout << *Ptr << endl; //Outputs the value -858993460 Hello again, here with another question :). I wasn't sure how to even ask this without displaying the code so searching kind of went no good for me. But can...
  7. N

    C++ Simple Encryption won't display array

    Okay so a couple thing I've noticed after debugging the entire program step by step. It didn't go through the loop, my elements [4-7] were not being assigned any values because it didn't go through any loops for the encryption. One important thing was your mentioning of the conditions so I...
  8. N

    C++ Simple Encryption won't display array

    So I'm supposed to create an array of size 8. Replace each digit by (the sum of that digit plus 7) modulus 10. Then, swap the first digit with the third, swap the second digit with the fourth and print the encrypted integer. I can't seem to understand why my array of values aren't showing up...
  9. N

    Access violation writing location 0xabababab.

    Getting a access violation. I'm looking at the pointers but I can't seem to find the problem. Can someone give me a hint besides the pointers? I've looked at the call stack but I'm fairly new to this so I'm still not seeing anything pointing me to where I need to be. Please and thank you as...
  10. N

    Accidental finger prints on digitizer or lcd how to clean

    Thanks for the tip, I just went out and got a micro fiber cloth I'm gonn'a see if the 50/50 works when the time comes. I always fear putting back on a digitizer and seeing that there's a dust particle in there or there's a finger print after I stick a digitizer back onto the device. I start to...
  11. N

    Accidental finger prints on digitizer or lcd how to clean

    Not sure where to post this and this seemed like the most appropriate place so... Every once in a while I'll forget to put on gloves when I'm taking apart a device and almost always I get finger prints on the screen before I remember to put on gloves. So, tell me what do you recommend for...
  12. N

    Conversion Euro Gas to US Gas

    i actually just caught onto pointers while watching some other video talk about pointers indirectly. But I figured that was the reason its giving me a hex as i was trying to figure out the problem in my dream from last nught. u just made my dream come true haha lol thanks
  13. N

    Conversion Euro Gas to US Gas

    I have a formula that I'm trying to use to convert European gas consumption to U.S. gas consumption. When I punch it in the calculator I get the right answer but when i punch it into the computer it gives me a hex number. Is there a syntax error that I'm not catching or what do you guys think...
  14. N

    Passing two values to a type void function C++

    Worked perfectly! Thank you! And that actually makes a lot of sense. That the function hasn't been initialized yet hence the error in the main().
  15. N

    Passing two values to a type void function C++

    So I'm being told in this problem to, pass two values to a type void function that displays the two values through the main() function. #include <iostream> void display(int); int main () { using namespace std; cout << "Enter the number of hours: "; int hours; cin >> hours...
Back
Top Bottom