| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 27679 | 2002-11-28 07:09:00 | assembly programming | milamber (2656) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 102112 | 2002-11-28 07:09:00 | does anyone hasve any sites/texts on line that they know of that r good 4 this sort of thing [assembly programming] especially network and graphics prgramming cheers... Amber |
milamber (2656) | ||
| 102113 | 2002-11-28 08:41:00 | Google? | segfault (655) | ||
| 102114 | 2002-11-28 10:33:00 | Thanks. :-( |
milamber (2656) | ||
| 102115 | 2002-11-29 01:08:00 | You must b] really [/b] be desperate for speed (or compact code) if you have to use assembly. It's much harder ... ;-) I found it was easiest to use a high level language (Algol, Pascal ... even Fortran) then replace the critical bits with assembly code (leaving the HL source as comments!). It's easier from the viewpoint of (1) avoiding bugs, (2) finding and fixing the bugs. The rule is: make it work, then make it run at realtime speed. :D Anyway, modern compilers (from Turbo Pascal) seem to be good enough that most of the time its object code is fast enough. (I had serial stuff running at 9600 baud on a 12 MHz 286 ... straight Pascal,). |
Graham L (2) | ||
| 102116 | 2002-11-29 03:13:00 | I'd like to learn assembly at some stage as well. Some of the stuff that can be done just seems to be a lot cooler than the same thing written in a higher level language. | -=JM=- (16) | ||
| 102117 | 2002-11-29 04:01:00 | Might be "cool" ... but it's painful. The worst I did was a couple of kB (a full 2x8) EPROM which held my keyboard monitor for a Z80. Hand assembled. No assembler, just a pad and a pencil and the CPU manual. PDP8 wasn't too bad, PDP11 a bit harder. Intel 80x is messy, but it's not too bad ... but I find most things I want to do now can be done in Turbo Pascal. I've had a look at the PIC microcontrollers lately. That's a simpler instruction set (about 32 instructions ?) and the code size is limited by the hardware. (512 or 2048 bytes). There are very active groups running web sites for PICs. That would be a very good way to start assembly ... the chips are cheap, and EEPROM makes development easy. The assembler and emulator (to run on PC) are free. EPE magazine runs lots of articles ... tutorial and project. |
Graham L (2) | ||
| 102118 | 2002-11-29 09:17:00 | why assembly?? as said above C++ should be fast enough for most real work including games . but I have played around with assembly for win32 apps . have some links: http://www . movsd . com ( the masm32 compiler) http://board . win32asmcommunity . net ( the forum for masm32 ) http://win32asm . cjb . net (many tutorials for masm32 format ) . tripnet . se/~iczelion/files/win32api . zip" target="_blank">spiff . tripnet . se (BIG win32 API refrance) have fun . |
robsonde (120) | ||
| 102119 | 2002-11-29 10:37:00 | Well yeah those sites listed by robsondes are good to checkout, but i wouldnt understand why you would want to use it for games and network??? Higher language suite better for games and networking . But one big advantage of assembly lang is SPEEEED and total control over MPU . You cant go wrong if you know exactly whats happening, thats why its used in 747's |
pluto (2246) | ||
| 102120 | 2002-11-29 13:30:00 | The reason why I like the idea of assembly is that it can create suck small files. But when it comes down to it Turbo Pascal is good enough I spose. | -=JM=- (16) | ||
| 102121 | 2002-11-29 19:28:00 | Are you using the software on your own project, or are you using some type of kit, Elektor Electronics have had some kits with ready made PCB board http://www.elektor-electronics.co.uk/ I made using the 8052 series. | E.ric (351) | ||
| 1 | |||||