An assembly language is a low-level language for programming computers.
I use assembly language, 32 bit.
I can't seem to find a way to delete all files in a directory.
DeleteFile does not take wildcards,
and ShellExecute won't execute del.
Can anyone help me...
Try one of these:
mov ax, data
mov ax, seg inname
Also, consider that the strength of Masm32 is 32-bit Windows programming. For 16-bit, Fasm is more suitable.
In Windows all memory areas are accessed using API. There are some task parameters to be accessed using FS:0000 address, but these (the structure layouts) can be modified by next OS version, so you...
If you are starting over more or less from the beginning, I recommend Borland TASM and Turbo Debugger. You can use the Ideal mode and the MASM mode, compare them, and learn even more from running a...
: Just a side note here. This code assumes that you have a color
: video system (not monochrome), and that the screen has 80 columns.
: In a testing or completely controlled environment, this...
I published my project. When i execute it, the first screen comes up , but then i get the error below.
Question 1: What is causing it?
Question 2: How do i go about creating a setup program,...
I'm done with the C part..
int i = 0;
int j = 0;
int z = 0;
int length = 0;
int carry = 0;
printf("Enter first number: ");...
This is the C/C++ board, so I assume that's the language. The assembler board can be found here.
result_str = sum / 10 + '0';
result_str = sum % 10 + '0';
result_str = sum;
You can work with numbers as large as you want by assigning them to strings. Then you simply work backwards through the strings, character by character performing your math tasks. Adding two...
: What do you need help with, more specifically?
i want to know what to use instead instead of int..
and also to know how to assign the sum by modifying the assembly code...
What do you need help with, more specifically?
can someone please help me with this?
: : you cannot call INT functions from win32. win32 is protected mode,
: : INT functions are real mode.
: Thanks for your prompt
: So is that means that...
: you cannot call INT functions from win32. win32 is protected mode,
: INT functions are real mode.
Thanks for your prompt reply.
So is that means that there is no way for me...
you cannot call INT functions from win32. win32 is protected mode, INT functions are real mode.
The DOS printing function assumes that the string ends with a $ character,
however the file deleting function still assumes the string ends with 0.
So the $ is not the problem here.
Adding the 0...
: how we can find out when Ctrl , Alt Or Shift key is pressed using
: assembly coding?
For DOS code - here:
For Windows - here:...
: It assembles just fine, but when i try to link it i get "fatal: no
: program entry point" an it aborts :S
In your code, after the END directive must be the entry point routine. Also, in the...