Assembly
An assembly language is a low-level language for programming computers.
Application
Any
Platform
Any
License
Any
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...
Download this Tutorial :
http://www.mediafire.com/?z3lh9as8s9w6434
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.
ASCII is...
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:
DEFINT A-Z
SUB APMGetVer(vMajor, vMinor, APMState)...
Hi,
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
jz inputLoop
;calc mouse click address
mov ax,80
mul dx ; mul doubles as xor dx,dx later on
add ax,cx...
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...
Hi,
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:
open file
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
to learn assembly use this web site:
http://www.formula-gate.com/assembly.aspx
I am not familiar with this assembly language, and I don't know what $t0 is, but shouldn't you be DECREMENTING counter, rather than incrementing it?
Or incrementing another variable to compare...
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
slow...
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...