An assembly language is a low-level language for programming computers.
how to write reverse a string program in c?
how to write Reverse string program source code using pointers in c programming language..?
Armstrong numbers in c?
palindrome numbers program in c?...
Ok nice site, seriously , cant delete posts either, I actually made 2 posts accidentally, and in 1 of the posted I accidentally posted my apologies for double posting also 2 times, everything cause...
see the book for x86 assembly guide
The best solution will depend on the type of file you are counting words from and how you want to define a word. ASCII vs. Unicode. MS-Word docs vs. PDF files. It can get quite elaborate.
I faced this same problem in making my own OS. Using information I found on Toshihiro Horie's website, I made these routines to do the job:
SUB APMGetVer(vMajor, vMinor, APMState)...
You may want to check the date on that first post - it is 28-Dec-2005! I think he graduated by now - OR DIDN'T (maybe did not make the Merge Sort)
But, seriously: check the Wikipedia...
Hi! I'm doing the same now. did you ever make it?
If you did, would you please send mi your code just to see how you did it?
Thank's a lot!!
filesize in bytes divided by 2 == number of words in file...
LOL but seriously.
It depends on your definition of a word and on what type of file. You could simply scan for the value 20h (space)...
200/8 = 25 chars high
and bx,bx ; test buttons
;calc mouse click address
mul dx ; mul doubles as xor dx,dx later on
I'm not familiar with those specific instructions on CPU's, but there are a couple of general things to keep in mind.
On modern hardware, at least MUL & DIV are usually processed iteratively in...
I have performance issues with the following code:
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
add 1, %eax
cmp 10000000, %eax
basically: for (i = 0; i
I forgot TASM... sorry, but here is some pseudo-code:
nbytes = get file size
token = 0
nwords = 0
repeat 'nbytes' times
c = read one character from file
if (c is a word...
How can I cuont The number of words in a file ?Using TASM
Hi everyone, I'm new to this site and hope you might be able to help me out?
So I've been given an assignment to produce this output:
% ./hw3b foo
slow foo but foo sure
% ./hw3b XYZ123
I want to write a simple linked list program with ASM .
Here's the code which I have tried to write(presently only for single digit numbers) ! However,it works only for 3 numbers and that too has...
Thanks for the information :) That's what I was hoping. So as long as nothing ugly and complicated is in danger of being interrupted it shouldn't be a serious problem.
Fortunately I don't need...
The recursion is actually a design oversight on my part. I don't currently have a way of returning back out of all the nested procedure calls when the player dies and is prompted to either start a...
The better question would be why stack overflows? I wrote a lot of ASM code for PCs since 86 (and there was some big production programs), and there is always a way to allocate memory instead of...
Where you need to worry about interruptions is when you are in the middle of doing something non-atomic, like an entire sub-procedure, or certain "complicated" CPU instructions like BTR. The CLI/STI...