248 Posted Topics
Re: A `div` always involves two registers, but these registers depend on the size of your operand: * `DIV BL` divides `AX` by `BL` * `DIV BX` divides `DX:AX` by `BX` * `DIV EBX` divides `EDX:EAX` by `EBX` As you can see, an 8-bit operand divides `AX`, a 16-bit operand divides … | |
Re: >Why in binary addition, does 1 + 1 equal 0 with a carry and not 1 with a carry? 1 + 1 ----- 10 When we add 1 and 1 in binary, we encounter and *overflow situation* which is just fancy shmancy talk for needing to have more digits to … | |
Re: >I forgot to declare an apple That sounds like our border's Bio Security Policy here in New Zealand ;) I've heard of people buying a 1TB HDD and making an innocent 500GB Windows partition on it, then making a TrueCrypt (or even just Linux) partition which occupying the remaining space. … | |
Re: > This is for my special project and to be submitted on monday. So what you're asking is basically >Can you do my work for me? | |
Re: In pseudo code terms, what you're doing is: EAX = 4 EBX = 1 ECX = Location of string 1 ECX = Location of string 2 EDX = Length of string 1 EDX = Length of string 2 SYSTEM CALL So you're setting `ECX` and `EDX` to certain values, then … | |
Re: I found some really good tutorials in the form of some old text files that an Australian by the name of Adam Hyde (see my signature) wrote back in 1995 and 1996. I picked those up in 2010 I think... can't seem to be able to find them... | |
Re: >No, that is a commmon misconception. You are very much right in your post, AHarrisGsy; while Linux isn't free of malware, it should be noted that the amount of malware, viruses etc. for Linux is absolutely miniscule compared to the number for other operating systems such as Windows. But you … | |
Re: >...downgrade from Windows 7 to Windows 8. Haha, that's very nicely put! :D Me? I love Linux. Only one of the computers in my household runs Windows, and that's because it's the one that everyone has to be able to use, and let's face it - Linux isn't for the … | |
Re: >MemTest86 is a live testing program, what this means is that it runs directly on the flash drive or CD that it is installed on. It is essentially an operating system, that doesn't get installed onto the computer itself. That's correct but can he boot from any media at all, … | |
Re: >assembly language depends ENTIRELY upon the target processor Should have given some sample code in a really rare, obscure dialect just for fun ;) | |
Re: > don't really consider myself to be a geek :) Says the person with 4307 posts... ;) | |
Re: Looks nice, but there's not enough contrast between the main page title and the background. Maybe pick the shadow colour up a tiny bit or something? I'm no professional designer, just a gut feeling. Or perhaps change the title colour to the same pink that you're using for borders elsewhere … | |
Re: I don't think children can feel TRUE love. I mean, yeah they feel love towards parents, friends, special friends, but I mean I just don't believe that they feel the same 'true' love that adults feel. | |
Re: I've read through your code a few times, and nothing's standing out to me yet. One technique that tends to help me is to take the code off-screen, get a pen and paper, then make a flowchart of what the code has to do, then write bits of the code … | |
Re: To make something that looks like a progress bar, you'd just need some sort of outer container, such as a `<div>` tag with its width set to, say, 400px, for exmaple. Inside this, you'd have another `<div>` with a background colour different to its parent, and with a width of … | |
Re: Could you disassemble your elf64 with `objdump -d test.o`? Also, try installing `gdb`, the GNU Debugger. I think you said you're using Ubuntu, so `sudo apt-get install gdb` should work. GDB provides you with the ability to run your program in such a way that you can perform debugging techniques … | |
Re: I prefer to stick to C when I can, but some things are best done in C++ rather than C. I tend to C++ when I'm dealing with virutal yet tangeable objects (if that makes sense). For example when dealing numerous objects like balls, blocks etc. in a simulation, I … | |
I just noticed that Perl and Python are under the Software Development category, but not Web Development, while Ruby is under Web Dev and not under Software Dev category. Don't get me wrong, they *do* belong where they currently rest, but perhaps a link to Perl, Python and Ruby could … | |
Re: @rajhoq12, I'm not sure if you realise how irrelevant that is to the OP's question. | |
Re: >++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++.+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. Oh god, is that brainf...udge? I was initially going to jokingly ask if you were using that godforsaken language, but it seems you already are... | |
Re: You would have to load the first byte from your string and check to see if it is a space. If it is, then replace that byte with '_'. Otherwise, just check the next byte. You'd repeat this in a loop until you find the end-of-string character. Which assembly syntax … | |
Re: Could you temorarily insert `print_r($_POST);` onto line 1 so we can see all of the contents of $_POST? ![]() | |
Re: No. Take a look at the `and eax,0xAA`. Let's use the example that `ax = 123d` which is `01111011` in binary. With encryption using just the aforementioned `and` line, `ax` would undergo the following changes: ax = 01111011 & 10101010 = 00101010 ...and with 'decryption' using the same `and` operation: … | |
Re: Personally, I do equal amounts of markup and programming and I agree with those who are saying that HTML etc. isn't programming. Here's a wee analogy: Markup languages like HTML can be likened to interior designing; you know what you're doing as far as how to lay out furniture, select … | |
Re: Xbox Originals were powerful in their day.. One possible idea other than selling one is that you can put XBMC onto them, turning it into a streaming media center. Another thing you might like is to put Linux onto it (Xebian is Debian, ported to Xbox). You'd then end up … | |
Re: Meh, gaming PCs aren't my thing at all. I like games, sure, but 99.9% of what I do on my computer isn't gaming. Don't take that the wrong way, it's normally progamming or surfing the web do find solutions to programming problems and so on. Games barely ever come into … | |
Re: I'm not familiar with MIPS; I'm more of an Intel man myself, but in any case, you'd have to recersively multiply a number with the power, so now for some pseudo-ish code examples: 2^3 a = 2 b = 1 repeat 3 times: {b = b * a} so for … | |
Re: You need to give more detail about what you want to do. Do you want a GUI menu, or a text-based menu? How does the user select an option - keyboard, mouse etc? What have you done so far? Our crystal balls have been playing up lately and we don't … | |
Re: >They aren't the only ones... there is also Wrox and headfirst... etc. And then there's a library, or is that too old-school these days? ;) | |
Re: Login should only ever be done server-side with something like PHP. Anyone know if C# can work with ASP? ![]() | |
Re: I'm embarrased to say that it was Visual Basic Express (or whatever was build into MS Word). I was 9 at the time, and went on to get a standalone VB IDE, playing with VB for the next two or three years, at which point, I stated on HTML4.0 and … ![]() | |
Re: I have never smoked tobacco. Take whatever meaning from that you want to ;) If I did ever smoke tocbacco (which I never will) then I'd so smoke a pipe. I know' it's worse than cigarettes because there's no filter, but come one! It's so classy! The worst drug I've … | |
Re: I once whipped-up a quick scripting language with its interpreter written in C... Like everyone else, I'm not quite sure what your question is, exactly, but if you can have a mess-around with C# or another language and make a program which is an interpreter (rather than a translater-compiler-type-thing) then … | |
Re: Also double-checking the level of your problem solving and analytical skills can't be a bad idea. >First of all I would recommend you take courses on algorithms and flowcharts Yes, flowcharts and other such diagrams are damned useful. Being able to code to fix a problem is just fine, but … | |
Has anyone made some really cool (or not so cool) 512-byte programs in assembly? I used to hear about people taking part in competitions where they'd try and make, say, a bootloader (or a program like a calculator, for example) and pack-in as many features as they could, the only … | |
Re: Glad to not have the need for imaginary friends ;) Just kidding - mad respect to anyone who has any beliefs, or lack thereof; none of my business unless it gets in my way or if someone starts ramming their religion down my throat. | |
#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; } I've come across DaniWeb when using search engines to find solutions to a programming problem, but never really stayed for long. Finally, I decided to register and help out a bit maybe. I'm mainly interested in C and bare-bones Intel … | |
Re: It should't be too bad if you understand what you're doing and why you're doing it. I've made quite a few things that I used to teach myself PHP and mysql - forum software and the like. The great thing about blogs is that you can start out with it … | |
Re: Losing my OS's source code (don't ask, please) and having to disassemble it from the binary I had on a floppy, decoding strings from the hex dump part, took its toll on me. Had to take a break from the computer after that one! | |
Re: Yelling an answer out in class, feeling certain that it's correct, but then everyone looks at you because it's so unbelievably wrong. | |
Re: Perhaps if neither Debian Wheezy nor Mint please you, it's time to search for another distro. I use Arch, but it's all down to personal preference, really. | |
Re: This sounds like a problem with VMWare rather than a Linux-Specific one... Is the Ubuntu ISO one that you're using to boot a virtual machine? | |
Re: We have no idea what context this is in, nor do we have any specific details related to the fucntion 'KeBugCheckEx'. Thus, we cannot provide any assistance until you rectify the situation. | |
![]() | Re: >You can't compare football to (football) soccer. American football is very violence. I still like baseball more than football, basketball, hockey. I like Soccer it's once every 4 years World Cup. Learn to accept that in many parts of the world, people call it football, I guess. We also spell … |
Re: To be more efficient, you could move the cursor to the right position without wasting CPU ticks printing the spaces. | |
Re: I happily use the Squid proxy server to share my internet connection for my web browsers, FTP clients and a bunch of other protocols. But remember that this solution would only allow programs that support the use of a proxy server to connect - most online gaming etc. probably wouldn't … | |
Re: I hate doing other people's homework - http://google.com is always a good start ;) Bascially, you've got to put those grades into the .data portion of your assembly program, ie .data grades db 55h,6Eh,69h,4Bh... ; you get where this is going... As for question #2, you'll have to loop though … | |
Re: >bonjour comment installer Linux sous windows7 ? Tu dois faire un nouvelle fil de discussion pour ta question. |
The End.