Search Results

Showing results 1 to 40 of 79
Search took 0.01 seconds.
Search: Posts Made By: Tight_Coder_Ex ; Forum: Assembly and child forums
Forum: Assembly 29 Days Ago
Replies: 1
Views: 469
Posted By Tight_Coder_Ex
Show an example of what you've done so far
Forum: Assembly 29 Days Ago
Replies: 4
Views: 636
Posted By Tight_Coder_Ex
So what part do you actually need help with?

Which platform?

If Windows, DOS or GUI?

Most importantly show something of the source as you understand it should be done
Forum: Assembly 30 Days Ago
Replies: 2
Views: 426
Posted By Tight_Coder_Ex
You don't need line 18 or line 25 as getenv only takes one argument, that being a string pointer.

I generally like using kernel32 library functions and in this case may work for you
...
Forum: Assembly 33 Days Ago
Replies: 0
Poll: Code Snippet: Windows Event Handler in MASM
Views: 366
Posted By Tight_Coder_Ex
This procedure dispatches application defined event handlers and alternately executes default process for both standard or sub/super classed windows.

Map is defined as follows. In most cases I...
Forum: Assembly Sep 20th, 2008
Replies: 1
Views: 678
Posted By Tight_Coder_Ex
Oh, Oh, panic homework assignment.

I don't understand what relevance word and sentence limits have in so much as the reversal algorithm and can there be more than one sentence in the string.
...
Forum: Assembly Sep 11th, 2008
Replies: 5
Views: 1,034
Posted By Tight_Coder_Ex
Interesting Nathan, however your example renders the computer redundant as you've already done the calculating, therefore a word processor would have been a better choice.

I do agree with your...
Forum: Assembly Sep 10th, 2008
Replies: 5
Views: 1,034
Posted By Tight_Coder_Ex
Here is my version of FizzBuss and it took me 2 1/2 hrs. I've read these little
blurbs about how this is used to test potential programmers and in fact the
overall method only took me 20 seconds to...
Forum: Assembly May 3rd, 2008
Replies: 1
Views: 3,531
Posted By Tight_Coder_Ex
Actually that's not correct, you did convert it and a reasonably good job too, the only problem is it's not working as expected.

1. You only initialize AL to -1 (255 or 0FFH) once and then inside...
Forum: Assembly Mar 1st, 2008
Replies: 1
Views: 976
Posted By Tight_Coder_Ex
Visualization is probably one of the best methods to comprehension. Invoke DEBUG and then step through the program one instruction at a time and just observe what's going on. OLLYBUG is even better...
Forum: Assembly Feb 14th, 2008
Replies: 1
Views: 1,433
Posted By Tight_Coder_Ex
Outer: inc eax
call Writeint
push ecx
mov ecx, 3
Inner: inc eax
call Writeint
loop Inner
pop ecx
loop...
Forum: Assembly Feb 1st, 2008
Replies: 0
Views: 3,973
Posted By Tight_Coder_Ex
I use GetTickCount in a lot of my applications, so I built this snippet to convert to hours minutes and seconds. Leading extraneous data is excluded from output.
Forum: Assembly Jan 27th, 2008
Replies: 1
Views: 717
Posted By Tight_Coder_Ex
Your question if far to arbitrary to give a concise answer and google will give you lots of links to examples.
Forum: Assembly Jan 24th, 2008
Replies: 2
Views: 5,620
Posted By Tight_Coder_Ex
masm32.com has all the resources you need to get started
Forum: Assembly Dec 24th, 2007
Replies: 6
Views: 1,624
Posted By Tight_Coder_Ex
Maybe consider writing a small boot loader and use BIOS calls instead. Most of the functionality you need is provided by any of the PC BIOS's. That way you are completely independent of any...
Forum: Assembly Dec 3rd, 2007
Replies: 5
Views: 1,258
Posted By Tight_Coder_Ex
Post your code please so we can see exactly what it is you have done
Forum: Assembly Dec 1st, 2007
Replies: 2
Views: 3,793
Posted By Tight_Coder_Ex
Actually what you want is someone to do your homework not help with a specific problem. I can think of three places where you could find this exact answer, but I think you should at least make a...
Forum: Assembly Nov 26th, 2007
Replies: 5
Views: 1,258
Posted By Tight_Coder_Ex
Based on your example and because you have variable length records SCASB is your best option

mov edi, Emp1
mov al, '$'
xor ecx, ecx
dec ecx
repnz scasb

Now you are...
Forum: Assembly Nov 19th, 2007
Replies: 2
Views: 1,451
Posted By Tight_Coder_Ex
tryinvoke RegOpenKeyEx HKEY_LOCAL_MACHINE, ADDR szRegSubKey, NULL, KEY_ALL_ACCESS, ADDR hKey)
Forum: Assembly Nov 18th, 2007
Replies: 9
Views: 1,699
Posted By Tight_Coder_Ex
Assuming EAX is already null

or ah, 7
or al, 8awould give you that result

ROL SAL SHL and instructions to do bitwise shifts either left in this case or right using ROR RAR SHR.

Knowing the...
Forum: Assembly Nov 18th, 2007
Replies: 2
Views: 1,341
Posted By Tight_Coder_Ex
_printf is not resolved until linked, therefore you have to make the complier aware of this.

extern _printf

I haven't had any success using standard "C" libraires so I use wsprintf which...
Forum: Assembly Nov 14th, 2007
Replies: 5
Views: 1,991
Posted By Tight_Coder_Ex
It appears there are two ways you can do this. (1) I assume CodeWarrior is on a different computer, so after compiling/assembling your code create a flat binary file and this can be read through the...
Forum: Assembly Oct 13th, 2007
Replies: 6
Views: 2,008
Posted By Tight_Coder_Ex
I've read your private message and appealing to me on what you perceive to be a private area is not going to work. Although I empathize with your dilemma, but there are two problems. (1) Your...
Forum: Assembly Oct 13th, 2007
Replies: 6
Views: 2,008
Posted By Tight_Coder_Ex
I'm not sure what you mean by this, but when making comparisons if you have more than one value you do it successively, meaning check value A then if true value B and so on.

Loop example:
...
Forum: Assembly Oct 13th, 2007
Replies: 6
Views: 2,008
Posted By Tight_Coder_Ex
After you've entered Month & Day, your program has no way of knowing which sign those entries are applicable too.

One way would be to calculate the number of days that have elapsed since Jan 1 and...
Forum: Assembly Oct 10th, 2007
Replies: 3
Views: 4,063
Posted By Tight_Coder_Ex
I see what you mean in respect to the first example and the only conclusion I can come too is although new processors are backward compatible, but there are problems when attempting to use the high...
Forum: Assembly Oct 5th, 2007
Replies: 2
Views: 1,318
Posted By Tight_Coder_Ex
http://www.husseinsspace.com/teaching/udw/1996/asmnotes/chapsev.htm
Forum: Assembly Oct 4th, 2007
Replies: 1
Views: 734
Posted By Tight_Coder_Ex
Let's see your code for doing indvidual lights and explain exactly what you mean by "running lights"
Forum: Assembly Sep 21st, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
Post a new thread, and I assume you've read all the posts in this one so be a little more informative of what you have in mind. Make your subject line representative of your intentions and we'll...
Forum: Assembly Sep 17th, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
Sure, would be glad to help if you need it.
Forum: Assembly Sep 14th, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
Post notes on all the things you want the program to do and what the user interface is going to look like.

#1: Maximum length of input
#2: Number of players
#3: Scroing method
#4: Ability to...
Forum: Assembly Sep 13th, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
I've already given you one idea, apart from that there's not much I can do until you decide on something
Forum: Assembly Sep 11th, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
Actually, I won't give you any code. This is in part to the fact and like I said I don't have a linux box. You probably won't find anyone else to give you code on this site either. What I can do...
Forum: Assembly Sep 10th, 2007
Replies: 12
Views: 4,759
Posted By Tight_Coder_Ex
One that I've done and called it Phrase Guess was pretty simple. Allow player to enter a phrase or sentence, pretty well anything, including a clue. Then it's redisplayed with just underscores but...
Forum: Assembly Sep 5th, 2007
Replies: 2
Views: 950
Posted By Tight_Coder_Ex
Pentium class processor also have BT (Bit Test) that is non destructive unlike Salem's examples.
bt eax, 0would test bit zero and return CY = 1 if set otherwise 0. Otherwise boolean...
Forum: Assembly Aug 30th, 2007
Replies: 2
Views: 1,536
Posted By Tight_Coder_Ex
SP is a special purpose register and it should never be used for anything other than what it was intended and you realize that anyway by your comment this is wrong. You've got the right idea using...
Forum: Assembly Aug 12th, 2007
Replies: 12
Views: 3,267
Posted By Tight_Coder_Ex
Line 38 is where I start the display process. The trick you might be missing is after I convert each character I actually put it in the final display string. Use DEBUG and break at line 38 and just...
Forum: Assembly Aug 12th, 2007
Replies: 12
Views: 3,267
Posted By Tight_Coder_Ex
Ok, here's my version. Once again to characterize something as being right or wrong in programming is somewhat subjective. Correctness in my mind is if the application is doing what it's supposed...
Forum: Assembly Aug 12th, 2007
Replies: 12
Views: 3,267
Posted By Tight_Coder_Ex
Let me see your code in its entirety so I can give specific details. In general your going to add your two numbers and then use DAA. Afterward you'll take that packed binary decimal and add 30H to...
Forum: Assembly Aug 11th, 2007
Replies: 3
Views: 2,071
Posted By Tight_Coder_Ex
Depends on the type of applications. There is a definite advantage when working with PLC's or Distributive Controls Systems. To be an effective programmer you must know the processor your working...
Forum: Assembly Aug 11th, 2007
Replies: 0
Views: 11,621
Posted By Tight_Coder_Ex
User can enter an ascii string of up to 48 characters consisting of 1's or 0's, with randomly interspersed whitespace.

IE: 1011111001011110 will be evaulated equally to
...
Showing results 1 to 40 of 79

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC