/ | \ -------------------------------------- --- GEcho 1.00 * Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200022Date: 03/27/98 From: AUKE REITSMA Time: 08:32pm \/To: JANIS KRACHT (Read 1 times) Subj: New PDN files at < directly to Asm. Matter of fact, even the C/C++ issues are JK> _swamped_ with Java now to some C programmers' dismay . Yep. That's right ;-) And keep up the good work! Many of us really appreciate it! Greetings from _____ /_|__| Auke Reitsma, Delft, The Netherlands. / | \ -------------------------------------- --- GEcho 1.00 * Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200023Date: 03/28/98 From: JOHN STEPHENSON Time: 10:14am \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: Problem to make a compil JS> If you see a later "yeah", you'll have the "yeah" symbol JS> information saying where yeah refers to. I hope that you're JS> writing this compiler in a high level language (ie Pascal or C)! FAG> Why? :) I think I'll do it in asm... just because I like it.. :) Crazy. :) FAG> I think I should compile the code in several steps JS> In this case it's not necessary. However, if you want to put in FAG> Why? FAG> I mean, first you leave space for the labels (first pass), and then FAG> you fill this space (second pass). That's not possible for doing smart jumps. Ideally, you shouldn't leave more than the required space for the jumps. If you only need to jump 080h (-128) to 07F (+127) away then you should use the short jump. In that way, you can't just "leave space", because you don't know if you should leave 1, 2 or 4 bytes to make the jump. JS> I'm in the process of trying to write a high-level single-pass JS> compiler. If anyone knows anything on compilers, I'd love to talk JS> to them. FAG> Whenver you finish it, let me know to try it (if it's shareware, FAG> freeware or public domain, of course..) It's for an interpreted language. The only reason I use the word compiler is because the interpreted language is sufficiently low-level (bearing strong resemblance to intel op codes). [the only difference between it and a "real" compiler will be the opcodes that the code generater writes] I'm coming to the realization that I have to build sophisticated parse trees and although I still can make it single pass, it will *have* to link. I really wish I had more time to work on it... FAG> I'd like to hear your better ideas to do it, would also be FAG> pleased if you'd have any internet addresses about how to make FAG> compilers (.PDF, .TXT, .DOC, .HTM, .WHATEVER). JS> Same here. Make sure to pass along any info to me. I know that JS> there are computer books available on the subject, but they also JS> carry high prices. FAG> Ok, same to you! :) I just recently took a look at the textbook for a compiler course, and I have to say, the one I saw was horrible. I did find some good material on lexical/syntax/semantic levels of interpretation, and symbol tables and expression/parse trees while looking around for the keyword "parse tree" using excite. I think it was lecture notes from a compiler writing course. However, all of that material is much more applicable to a high level compiler. - DarkFire [John Stephenson (an INTP), Fingerprint: 66BE3A3B6EEE9A5B-48001A32901ECA21] [Composed at 3:24:26p on 1998-03-28 (UTC) using PGPWave v1.24a Beta] --- Maximus 2.01wb * Origin: *Synthesis* Kingston, Ont., Canada! (1:249/127) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200024Date: 03/28/98 From: JOHN STEPHENSON Time: 10:24am \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: Problem to make a compil FAG> I want to make an ASM compiler for a microprocessor. I want to FAG> start with one for the 6809. BM> Technically, that's a cross-assembler, not a compiler. FAG> What is a "cross-assebler"? (I mean, what's the difference between a FAG> cross-assembler and an assembler?) I believe he's mistaken. A cross compiler takes code and at the syntax level and writes another syntax structure. (I've never heard of one that builds a parse tree, and undos the parse tree; which would be ideal) An example is a Pascal to C converter. It would take a format like "if (condition) then begin [...] end;" and convert it to "if (condition) { [...] }" etc. He thought that you were designed a compiler to read 80x86 asm code and generate 6809 asm code. (which would be a cross compiler, and that does not sound like what you're doing) - DarkFire [John Stephenson (an INTP), Fingerprint: 66BE3A3B6EEE9A5B-48001A32901ECA21] [Composed at 3:29:30p on 1998-03-28 (UTC) using PGPWave v1.24a Beta] --- Maximus 2.01wb * Origin: *Synthesis* Kingston, Ont., Canada! (1:249/127) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200025Date: 03/25/98 From: TIM HUTZLER Time: 06:48pm \/To: OLE HEJLSKOV (Read 1 times) Subj: Re: I need some help.. -=>Quoting Ole Hejlskov to All <=- OH>Hello All!! OH>I have a frend and he have forgot his BIOS password. OH>I prommised him to look for a program to reset then BIOS password or OH>change it. OH>Anyone have a code? Remove the on-board battery. Short the leads for a few minutes. Replace battery. Password is gone. ___ Blue Wave/QWK v2.12 --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200026Date: 03/28/98 From: ADAM MAJER Time: 02:14pm \/To: DAVE RICHMOND (Read 1 times) Subj: Anyone Listening? DR>Is anyone receiving, sending to this echo? I haven't had a single message DR>here in almost six months. Just wondering if there is a cut somewhere.... I don't think there's a cut anywhere. Unless of course you don't receive this message. * SLMR 2.1a * If this were an actual tagline, it would be funny. --- FMail 0.92 * Origin: The Programmer's Oasis on FIDONET! (1:348/203) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200027Date: 03/28/98 From: DAVE MCDONOUGH Time: 10:23pm \/To: CRAIG HART (Read 1 times) Subj: CMOS CH> An eprom is just a type of memory.. you can't make a 'robot Yeah.. I know what it is. :) CH> Basicly, you need a thing called an eprom programmer. I built mine from CH> a kit published by an australian electronics magazine and sold by a Do you have a schematic? I'd like to build one. CH> Could we move this discussion to tech or dr_debug? It's drifting CH> off topic. sorry.. I don't thing this bbs has those areas.. ... "42? 7 and a half million years and all you can come up with is 42?!" --- Bink/Max/GE 1.20 Pro * Origin: Analytical Engine CBCS [440] 942-3876 (1:157/554) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200028Date: 03/28/98 From: JASEN BETTS Time: 07:03am \/To: DAVE RICHMOND (Read 1 times) Subj: Anyone Listening? DR> Is anyone receiving, sending to this echo? I haven't had a single DR> message here in almost six months. Just wondering if there is a cut DR> somewhere.... There must-have used-ta have-been :) Is it working now? --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F4200029Date: 03/28/98 From: JASEN BETTS Time: 09:56am \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: putsprit.asm FA> First, thank you for your remarks.... FA> The fact is that when I was reading your answer I found the code I had FA> posted very strange... I think you missed one of the changes (I added an endrow label and a jmp) or maybe I forgot to post it... FA> putrow: FA> lodsb FA> and al, al FA> jz nextrow FA> stosb FA> loop putrow jmp endrow ; this is needed otherwise it falls through and makes a mess FA> nextrow: FA> inc di FA> loop putrow endrow: FA> FA> add di, bp FA> pop cx FA> loop loophere --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350)