Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I need a code that draw a small circle using pixels in assembly language...
I am using Masm611... I have to use this circle as a player in pacman...
Posted
Comments
bbirajdar 23-Nov-12 13:38pm    
Post your requirement on www.freelancer.com
Sergey Alexandrovich Kryukov 23-Nov-12 13:42pm    
Would be an overkill. :-) The question is bad, of course. Such algorithms are easy to find -- please see my answer.
--SA
Sergey Alexandrovich Kryukov 23-Nov-12 13:41pm    
What, packman again?! This is 3rd or 4th case in a row. Are you guys get identical assignments in school. What kind of school is that?
--SA
Nelek 23-Nov-12 15:25pm    
One with a big % in lazy students ;P

1 solution

Sure, such algorithms are widely available. Please see:
http://en.wikipedia.org/wiki/Midpoint_circle_algorithm[^],
http://groups.csail.mit.edu/graphics/classes/6.837/F98/Lecture6/circle.html[^].

And you should be able to do it in Assembly yourself. It does not depend much on particular Assembler, but more on platform and access to hardware you could use.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900