This club is here to help.<br>just post the question and have the answer....
342
khalligan2000
Oct 3, 2001 8:15 am
From a professional programmers point of view which is better :<br>to use: xor ax, ax <br>or mov ax, 0<br><br>is there a rule of programming standards here...
343
sevencircle
Oct 4, 2001 6:09 am
It's depends on the purpose of the operations<br>Both of them consume 1 cpu step equally.<br>e.g. clearing count,number etc..<br>iF 0 means specific value, use...
344
md1210us
Oct 9, 2001 3:32 am
your problem is your letting microsoft help you<br>with your program.<br>int21 is not a line of code,its a msdos subruten<br>and why did we go to all the ...
345
md1210us
Oct 9, 2001 4:14 am
heres what i did.<br>get a computor,install dos 6.2,and gwbasic or basica.<br>than at the liberary you will find outdated progaming books(there to cheap to buy...
346
md1210us
Oct 9, 2001 4:17 am
xor uses only 1 bite and mov anything uses at least 2 <br>also xor will set flags if you need to them set or not <br>and mov instuctions dont change any flags...
347
md1210us
Oct 9, 2001 4:29 am
xor uses only 1 bite and mov anything uses at least 2 <br>also xor will set flags if you need to them set or not <br>and mov instuctions dont change any flags...
348
md1210us
Oct 9, 2001 4:39 am
excuse me but [mov ax,0] uses 3 bites.<br>one for the mov ax part and 2 bytes for the data<br>(0000)zero as a word.<br>any time you want to set a reg to zero...
349
linnphile
Oct 11, 2001 3:49 am
does anyone here know how to write graphics? I am terrible at graphics and looking for some help. I have this program here that I need to write graphics for....
350
sevencircle
Oct 11, 2001 10:15 am
graphic program is very difficult.<br>You should study graphic card programming books.<br>VGA memory is mapped to screen.<br>You can set screen resolution by ...
351
md1210us
Oct 12, 2001 2:35 am
depends on what kind of vidio hardware is in the<br>system your working on.<br>if you have a vga vidio card you can set the screan mode(1-9 in older 1-14 in ...
352
linnphile
Oct 12, 2001 5:10 am
I guess I should have make the question more clear at the beginning. Specifically, I want to know how to relate the graphics to the original program. For ex,...
353
sevencircle
Oct 13, 2001 12:52 am
suppose there are for buttons, UP DOWN LEFT RIGHT -each button changes airplain position,<br>and this program is airplain simulation program.<br>You can move ...
354
md1210us
Oct 16, 2001 3:44 am
i guess from what your saying<br>if pressing the buttion inc some reg(a software reg)1 then you find the group of code that starts<br>with you pushing the ...
355
Kapil
Oct 16, 2001 11:47 am
Hey... **YOU** are the one talking of reducing the coding load.. so whats the point in writing your own soft. ints when you want to give away the program??<br>...
356
md1210us
Oct 18, 2001 5:16 am
what the hell are talking about.<br>im not putting you down.<br>im saying if you can code in assy,you will get more done,and with fewer bytes.<br>ok so you...
357
Kapil
Oct 18, 2001 6:18 am
Hey man.. <br>First of all.. letme tell you something about India and the difference with other countries.<br>In India *unlike* other countries .. nobody gives...
358
plane_flying_east
plane_flying...
Oct 19, 2001 2:50 am
> Does the MS-DOS program call an interrupt<br>> function to obtain the path to its file on disk?<br><br>It's been a while but I think the full path name...
359
plane_flying_east
plane_flying...
Oct 19, 2001 3:05 am
The executable39;s path name follows the program's environment space. The segment of the environment space is located at offset 2Ch in the PSP. The PSP is the...
360
plane_flying_east
plane_flying...
Oct 19, 2001 3:25 am
but whats a TSR doing anyway?<br>> i was under the assumtion the cpu ran one<br>> instruction at a time,and when a SR,OS,dos,<br>> even the bios, ...
361
plane_flying_east
plane_flying...
Oct 19, 2001 3:35 am
> From a professional programmers point of view<br>> which is better :<br>> to use: xor ax, ax <br>> or mov ax, 0<br>><br>< is there a rule...
362
plane_flying_east
plane_flying...
Oct 19, 2001 3:38 am
> anyway just remember if you dont want your<br>> progam screewing up from someone elses input<br>> quit MS cold turkey (soft int. like ...
363
plane_flying_east
plane_flying...
Oct 19, 2001 3:49 am
You're asking a very general question and you're getting very specific answers. Probably because answers to such general questions aren't possible so everyone...
364
md1210us
Oct 19, 2001 8:43 am
"Indians are the ones to come up with the algorithm concept.."<br>wrong....<br>I came up with the algorithm concept!<br>and i got news for ya..<br>nobody gives...
365
curlious
Oct 19, 2001 5:47 pm
I'm actually looking for a solution to this problem for C, but may need an assembly language funtion to do it, and I know practically nothing about assembly....
366
curlious
Oct 19, 2001 6:10 pm
I have a question. How does an interrupt work?<br>If a cpu executes instructions sequentially, do you have to create a listener within your program for ...
367
sevencircle
Oct 20, 2001 4:26 am
Every input from outside of CPU is Interrupt.<br>Keyboard typing causes interrupt. Mouse too.<br>And each interrupt has it's handlinsg rutine,...
368
md1210us
Oct 20, 2001 9:42 am
you will find if you load an addr. like<br>seg b000h to seg b500h with a byte like 60dec<br>an assci char. will appeir on the screen(if your in a charator ...
369
md1210us
Oct 20, 2001 10:48 am
the real interups (hard interups) is a phyical line (the int pin on the cpu)..and when an ext. device pulls this line to zero and if the mask int flag bit(a ...
370
md1210us
Oct 20, 2001 12:02 pm
to clarify my last post new cpu;s may not have dedacated hard int pins.(save the reset pin )like old (8 bit)cpus had.<br>but polling the ports has<br>to be ...