Question:
Can you make a game in Assembly Language?
Goofus
2012-04-29 19:46:08 UTC
can u make a game in assembly language? sorry im a noob to programming, and which is best too learn C, C++ or Java?
Three answers:
Jonathan
2012-04-29 20:31:34 UTC
Yes. One of the fun programs I wrote was as a challenge. The program was required to fit inside of 512 bytes of RAM on the IBM PC. This meant... DOS, of course, and a .COM (tiny model) program. My entry was a TRON game. One player on one side of the keyboard, another player using the other side. Worked very nicely and had lots of fun with it. Easily fit within the space I was allotted. I believe I used 640x480 VGA mode, but it's possible that it was 640x350 EGA. Can't recall now. Supported interrupt mode for the timer chip to pace the game and polled the keyboard.



It was entirely in 16-bit x86 assembly code.
Sídhe
2012-04-29 19:56:45 UTC
>> Can you make a game in Assembly Language?



Yes, but you probably don't want to.



>> which is best too learn C, C++ or Java?



Depends on what you want to use it for. C/C++ is closer to the "metal" of the machine and is nearly a must for 3D applications of any note -- at the cost of higher complexity and no memory management at all.. Java is more high-level but you get cross-platform compatibility out of the box at the cost of more limited graphics options.
2016-10-23 09:12:57 UTC
X 86 assembly language is nicely worth getting to comprehend. there are certain processor applications that would purely be accessed on the decrease tiers alongside with CPUID. also operating structures position self belief in a Hardware software Layer it really is the interface between the BIOS/Hardware and the operating equipment and is written in low element code. diverse processors (X86, PowerPC and so on) have diverse assembly languages. applications written in assember will be a lot smaller than compiled more beneficial element languages which makes assembler proper for the likes of programming phones, %chips and assorted different non-computing device computational gadgets.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...