248 Posted Topics

Member Avatar for pbj.codez

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 …

Member Avatar for Assembly Guy
0
258
Member Avatar for pbj.codez

>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 …

Member Avatar for ShiftLeft
0
136
Member Avatar for asif49

>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. …

Member Avatar for jwenting
0
751
Member Avatar for trebla21

> 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?

Member Avatar for Schol-R-LEA
-2
226
Member Avatar for pbj.codez

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 …

Member Avatar for Assembly Guy
0
211
Member Avatar for Evenbit

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...

Member Avatar for pbj.codez
3
2K
Member Avatar for nisbusiness

>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 …

Member Avatar for Assembly Guy
0
265
Member Avatar for mattster

>...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 …

Member Avatar for Assembly Guy
0
857
Member Avatar for mosesjr17

>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, …

Member Avatar for mosesjr17
0
231
Member Avatar for shamsidini

>assembly language depends ENTIRELY upon the target processor Should have given some sample code in a really rare, obscure dialect just for fun ;)

Member Avatar for Assembly Guy
0
241
Member Avatar for PHIPH
Member Avatar for olugbade.nicholas
0
199
Member Avatar for garyjohnson

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 …

Member Avatar for Lincoln65
1
220
Member Avatar for imBaCodes

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.

Member Avatar for cproger
2
219
Member Avatar for DarkLightning7

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 …

Member Avatar for Assembly Guy
0
233
Member Avatar for anand_potukuchi

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 …

Member Avatar for phfilly
0
323
Member Avatar for DarkLightning7

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 …

Member Avatar for DarkLightning7
0
5K
Member Avatar for invisal

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 …

Member Avatar for asrockw7
2
267
Member Avatar for Assembly Guy

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 …

Member Avatar for Assembly Guy
2
216
Member Avatar for silvercats

@rajhoq12, I'm not sure if you realise how irrelevant that is to the OP's question.

Member Avatar for Assembly Guy
0
269
Member Avatar for <M/>

>++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++.+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. 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...

Member Avatar for Assembly Guy
0
429
Member Avatar for patrickgormally

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 …

Member Avatar for Assembly Guy
1
6K
Member Avatar for crazymidget01

Could you temorarily insert `print_r($_POST);` onto line 1 so we can see all of the contents of $_POST?

Member Avatar for LastMitch
0
181
Member Avatar for RYAnn191

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: …

Member Avatar for Assembly Guy
0
299
Member Avatar for <M/>

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 …

Member Avatar for jwenting
0
389
Member Avatar for jean122

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 …

Member Avatar for <M/>
0
349
Member Avatar for aVar++

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 …

Member Avatar for PatMoe
0
340
Member Avatar for globueno

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 …

Member Avatar for Assembly Guy
0
1K
Member Avatar for isra sweileh

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 …

Member Avatar for Assembly Guy
0
68
Member Avatar for Ekerichard101

>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? ;)

Member Avatar for ftangpos
0
262
Member Avatar for MasterHacker110

Login should only ever be done server-side with something like PHP. Anyone know if C# can work with ASP?

Member Avatar for James singizi
0
286
Member Avatar for game06

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 …

Member Avatar for James singizi
0
663
Member Avatar for Xantipius

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 …

Member Avatar for mattster
-1
546
Member Avatar for michael.yeh.18062

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 …

Member Avatar for Assembly Guy
0
307
Member Avatar for Aspyred

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 …

Member Avatar for Assembly Guy
0
219
Member Avatar for Assembly Guy

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 …

0
127
Member Avatar for nitin1

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.

Member Avatar for TonyG_cyprus
0
441
Member Avatar for Assembly Guy

#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 …

Member Avatar for cproger
0
230
Member Avatar for <M/>

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 …

Member Avatar for pritaeas
0
158
Member Avatar for imBaCodes

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!

Member Avatar for vinnitro
1
196
Member Avatar for <M/>

Yelling an answer out in class, feeling certain that it's correct, but then everyone looks at you because it's so unbelievably wrong.

Member Avatar for <M/>
0
45
Member Avatar for Proglearner

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.

Member Avatar for bsimms86
0
251
Member Avatar for fedaa91

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?

Member Avatar for CimmerianX
0
281
Member Avatar for Fix_It

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.

Member Avatar for Fix_It
0
129
Member Avatar for LastMitch

>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 …

Member Avatar for Assembly Guy
0
339
Member Avatar for king03

To be more efficient, you could move the cursor to the right position without wasting CPU ticks printing the spaces.

Member Avatar for Assembly Guy
0
176
Member Avatar for tamim.dari.5

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 …

Member Avatar for Assembly Guy
0
476
Member Avatar for mohdshafiqanas

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 …

Member Avatar for Assembly Guy
0
153
Member Avatar for olowokere

>bonjour comment installer Linux sous windows7 ? Tu dois faire un nouvelle fil de discussion pour ta question.

Member Avatar for aVar++
1
272

The End.