Posts
 
Reputation
Joined
Last Seen
Ranked #106
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
91% Quality Score
Upvotes Received
46
Posts with Upvotes
43
Upvoting Members
30
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
38 Commented Posts
0 Endorsements
Ranked #205
~199.91K People Reached
Favorite Tags
c++ x 346
c x 122
java x 117
Member Avatar for darren110690

I assume you mean for a PC based 80x86 processor running DOS? Actual firmware uses a reset vector for code startup. Lookup a *.com file.

Member Avatar for Reverend Jim
0
24K
Member Avatar for jingo1126

Not to cloud the issue, but first you need to deterimine if you are working with signed versus unsigned data? You need to use a different compare based upon the type of data you're using! Above & Below --> Unsigned Less & Greater --> Signed Unsigned: JA, JNBE Jump if …

Member Avatar for Assembly Guy
0
5K
Member Avatar for serkan sendur

How about a color wheel. The angle on the wheel is used to calculate the RGB required to display that color! You select a ilumination level, 0.0=black 1.0=white, and then rotate through a 360 degree wheel at that luminance level!

Member Avatar for Mauricio Feijo
0
1K
Member Avatar for Nathan Campos

Different ways. One is to clear the screen yourself by writing to the display Segment:Offset. Using Video Services interrupt 10h, command ah=0 Set the video mode again! (Not really the best way to do it but should work!) I prefer the write to memory myself method! It's been many years …

Member Avatar for jrandom
2
6K
Member Avatar for rmlopes

You are in a multi-threaded environment. Other threads in your application are taking time slices. Other applications are pre-empting and taking time slices. What I usually do is bump my application priority up to real time, set that's thread priority to real time., and then call the function N=10,000 times …

Member Avatar for JohnDiego
0
5K
Member Avatar for BlackPhoenix

I like using IOCP I/O completion Ports. Works very nicely for minimal threads to maintain thousands of sockets! Works well for only a couple sockets as well! Its a worker thread to event manager. It involves, events, sockets, worker threads, and a IOCP setup. You can even assign a user …

Member Avatar for simply_viks
0
357
Member Avatar for hellonikki
Member Avatar for Sruthi.pv
0
89
Member Avatar for geno93n0

RADIX ? Haven't heard of that! TEST is a Read-Only AND. Does the same AND but the result is not stored, but the flags are still set! [code] A B A ^ B 0 0 0 0 1 0 1 0 0 1 1 1 [/code] For SHL MSB is …

Member Avatar for scarlet21
0
399
Member Avatar for jingo1126

You need something like the following. I did this in an editor so you'll have to debug it! Note the comments! [code=Asm] .model small .stack .data .code start: mov ah,1 int 21h ; DOS - Read character from StdIn (Key) ; al=char read ; mov ah,2 ; mov dl,0ah ; …

Member Avatar for Leeron2009
0
938
Member Avatar for elico

Save an uncompressed TGA or BMP file. Download the header specification, extract width, depth, bits per pixel information from it. Then write your raw loader. Start with a 24 or 32-bit image it will be easier. Keep it small!!!!!!! Then once it works, try a nice picture. Then use a …

Member Avatar for wildgoose
0
122
Member Avatar for csinquirer

Do some research into what fields interest your instructor. Review research white papers in your University library. Find something that interests you. Then do more research, then make your proposal! Quite often this project turns into your own business when you graduate! If its unusual and has a niche and …

Member Avatar for Nick Evan
0
525
Member Avatar for embeddedravi
Member Avatar for cmsc

[QUOTE=cmsc;1260551]we were asked to make a program that adds two digit numbers. I was ableto scan and add the input numbers but I have trouble doing the 'carry' part. i can't divide the sum of the ones place integers by ten. what's wrong with this code? : [CODE] mov al,bl;move …

Member Avatar for cmsc
0
208
Member Avatar for funfullson

If you have an Intel 82802 in your system.... [url]http://www.intel.com/assets/pdf/manual/298029.pdf[/url] If not, read a high precision clock register, blend the bits in a tight loop, peek at a keyboard key until a user interaction is applied such as a keystroke. You can seed the number generation from the high precision …

Member Avatar for Tahir007
0
6K
Member Avatar for avarionist

The default for a [si] [esi] [rsi] access is the ds: Data segment / selector. But it can be overriden with an alternate such as AncientDragon indicated cs: Code Segment/Selector, es:Extra Segment/Selector, ss: Stack Segment/Selector fs, gs Selectors Another item to note is LODS also increments the index by the …

Member Avatar for avarionist
0
347
Member Avatar for varsha solshe

Maybe if you type your request in English and not txt your request might be easier to understand! If you are about to become a Senior in a University you need to figure out your project on your own. We'll help nudge you once you set your compass. What language …

Member Avatar for wildgoose
-2
94
Member Avatar for frantonio

AYNAZ - You need to post your own problem as a new posting! Depends on the string! If an ASCIIZ (NULL terminated ASCII string) merely check each character until you find the NULL character. You can count with each loop, or once the NULL is found, merely subtract the new …

Member Avatar for wildgoose
0
3K
Member Avatar for wekesa philip

I'm not up to speed on that chip but... Are you allowed to set the ADEN and clear the ADFR bits simultaneously or in sequence? After setting the states you should initiate the conversion process Set bit 6 in ADSC WAIT until ADCSRA bit 6 goes low! Then read ADCL …

Member Avatar for wildgoose
0
88
Member Avatar for satish.paluvai
Member Avatar for deeer

I always love classroom assignments that involve playing cards! First create your symmetrical enumeration to what ordering you prefer. Sequential #'s per suite. Or sequential interlaced suites. So technically, mathematically your enumeration maps directly to a card number and suite. This makes it much easier for card shuffling and card …

Member Avatar for deeer
0
146
Member Avatar for skyir

We aren't going to do your homework for you! But here are some hints! [code] ; Insert your code between the [ code] and [ /code] declarations [/code] COMMENT THE CODE, so you can understand it better!

Member Avatar for skyir
0
3K
Member Avatar for lewashby

I don't think people want to be thought of as meat and thus eaten! Too many movies on that topic. If you mean "meet" may I suggest going back to school and continuing your education. You'll meet others wanting to be in the same industry and eventually through internships, those …

Member Avatar for Ancient Dragon
0
130
Member Avatar for Wakesta
Member Avatar for akssps011

I think you mean {0,0} to {799,599}. Slope of a line is rise over run. y2-y1 ----- x2-x1 Screen boundary is unimportant. Line {30,50} to {910,100} dy = 100-50 = 50 dx = 910-30 = 880 slope m = 50 / 880 So to clip at right y = mx …

Member Avatar for akssps011
0
86
Member Avatar for Diamondo25

Rubbish? You mean a pointer to data memory? mov eax,[eax] moves the contents of memory pointed to by eax into the eax register! You don't have enough information, for more detail other then eax is loaded from the stack as a passed argument, but its compared to other registers that …

Member Avatar for wildgoose
0
161
Member Avatar for godfather2007
Member Avatar for wildgoose
0
80
Member Avatar for R3k

There are two general purpose 80x86 additions common to all processors. [code] add eax,ebx ; add no carry [/code] [code] adc eax,ebx ; add with carry [/code] 80x86 can load from memory or registers. Your variables row and boat are in scope and on the stack so they are accessed …

Member Avatar for R3k
0
543
Member Avatar for overlordlink

Well it's in assembly language for an old 8-bit 8080 processor. I didn't look at any of the art files as Norton decided there was atleast one problem with that webpage! Portal.asm is assembled as raw binary intermix of music, ASCII text and ASCII based 40x20 image data. sidlyric.asm is …

Member Avatar for wildgoose
0
140
Member Avatar for mr_s70

Branch prediction depends upon which processor family and which exact processor. Branch prediction has changed over time! For example on older 80x86 processors, "if a branch to an earlier address, then it is predicted that the branch will be taken! As it is a loop!" On newer processors last branch …

Member Avatar for mr_s70
0
81
Member Avatar for epicasian

Look for data not set! You should probably have a difference between a debug and release build as well. Data will be initialized differently. Also running within an I.D.E. will move code around in memory! Also look for a memory overwrite. Writing past the end of allocated memory. Check for …

Member Avatar for Rajesh R Subram
0
471