Computing.Net > Forums > Programming > Newbie ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Newbie ?

Reply to Message Icon

Name: gratis1
Date: November 4, 2005 at 06:28:39 Pacific
OS: Windows98SE
CPU/Ram: 256
Comment:

Good Advice Please,

I have been searching the net to try and discover the best programming language to get started with. As a programming beginner my inclination seems to be towards QBASIC V7.1 within the Dos Environment. I would like to become familiar with ASM (says he with intrepidation, as ASM is not for Beginners!)

However Does anybody know, preferably of a freeware convertor to convert QBASIC code to ASM (& back again) because certain functions I feel would benefit from the compact nature & speed of ASM.

I also feel the Convertor would be invaluable as a teaching aid from the point of view of high level language to a low level language conversion & possibly incorporate it within some QBASIC code if that is possible.

I hope I have explained myself correctly & have not offended any Prof coders.

Regards,

Dave



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: November 4, 2005 at 07:22:28 Pacific
Reply:

I'm not an up to date programmer, but I can suggest you

1) As the first programming language is just like your first sweethart, better you have the nicest trip; so start with C++.

2) There were other times... but I started just programming in minicomputers assembly (DEC PDP 11); Assembler is for beginners too!

3) What do you mean about Conveter? Everything you code and process by compiling ends to machine/assembly and the opposite process is reverse engineering; so what you state has low or no meaning.

This last issue seems to me you have to clarify yourself about the fundamental of programming before taking any decision.


0

Response Number 2
Name: gratis1
Date: November 4, 2005 at 09:18:28 Pacific
Reply:

Thanx IVO for Your Prompt reply,

Just to clarify my posting re the conversion utility. I have seen within Qbasic coding, routines placed there that are ASM in format presumably to speed up or condense/compact that part of the programming instruction.

So I was wondering whether there is a freeware utility that will, say if you type in Qbasic instructions will then tell you what those instructions are in ASM. this seems to to me to be a hybrid of QBASIC or they are using the best from both worlds maybe? This tool would be a bit like a binary to hex converter.

Sorry about the confusion but I am a newbie at this game as implied.

regards,

Dave



0

Response Number 3
Name: IVO
Date: November 4, 2005 at 12:55:45 Pacific
Reply:

Hi gratis1, be sure: you do not offend anyone and you post to get knowledge, otherwise why to be here?

About your question on Coverter, I guess what you discovered was "in-line assembly code" a practice used in high level languages (where the compiler allows that) to insert machine language sequences to optimioze or perform hardware related functions.

Other guys can guide you on that topic in a better way than I know. As far as I can I suggest you find by googling on the net free tutorials on both assembly and the high level language you will choose. There are for everyone's taste, then download a free compiler and X86 assembly and start to code.

Keep in mind it is better to code for the Windows environment turning to DOS when you want to face with hardware related issues (as that is easier to the beginner). More asembly mastering is of value if you like "system programming", otherwise better a good knowledge of a procedural language.

I hope more acquainted programmers guys want to help you to get the right lane.


0

Response Number 4
Name: StuartS
Date: November 4, 2005 at 13:11:13 Pacific
Reply:

You wont get a converter that will convert QBASIC in to Assembler. A single QBASIC command is likely to convert into multiple pages of Assembler.

The only thing I have seen that will generate Assembler code is a de-compiler and that works on the machine code after the programme is compiled. I doubt if even that would work on machine code generated by QBASIC.

If you must start with a version of BASIC I suggest you start with Visual Basic. Visual Basic is native to Windows. Although QBASIC will work under Windows it is basically a DOS application and DOS is obsolete.

I agree that Assembler is not just for experts. Because assembler is so radically different from any other programming method, everyone starting to learn assembler for the first time starts at the same place, regardless of their previous programming experience.

Stuart


0

Response Number 5
Name: gratis1
Date: November 4, 2005 at 16:39:23 Pacific
Reply:

Thanx Stuart for your reply,

Looks as if there is no such thing as a Bas2ASM convertor util then! Thankyou for your advice though.

regards,

Dave


0

Related Posts

See More



Response Number 6
Name: gratis1
Date: November 4, 2005 at 16:56:25 Pacific
Reply:

Hi all again,

I Know I am answering my own question here but I may have found a freeware BAS2ASM converter albeit within another full progey.

It may be of help to others looking for a similair program here is the link.

http://www.michaelhartlef.de/html/features.html

Don't know how good or bad it is but if you scroll down to the tools section within the features, it mentions a BAS2ASM converter Feature. The program is called IndeED V1.19f hope this helps others, all the best.

regards

Dave


0

Response Number 7
Name: StuartS
Date: November 4, 2005 at 17:22:36 Pacific
Reply:

This is a function for generating in-line code as mentioned earlier by IVO. In the example given it is just converting a simple function that adds two variables.

I would like to see how it handles more complex QBASIC functions.

You will still need a QBASIC compiler that handles in-line assembler to make any use of it. The programmes described is just a programmers text editor and it doesn't mention QBASIC as one of the supported languages.

Stuart


0

Response Number 8
Name: IVO
Date: November 5, 2005 at 03:08:59 Pacific
Reply:

Please, take the following as a another help to your starting efforts...

Why are you so concerned about mapping a high level language to the machine code?

I am in the industry since 1972 and as system programmer, system analyst and technical manager I can assure you most well trained programmers have no exposure at all to the internal architecture of the machines they develop applications for.

To master assembly (and system architecture) is indeed an asset whatever will be your job, but that is a must for systems programmers and designers only.

If you want to become an application developer aside a strong knowledge of application environments (environments not just languages!) you need to get a good knowlegde of problems you are going to solve, e.g. finance, gaming, web design. Otherwise programming alone is of no support.

Programming is the tool not the target.

However if you like the technical side of information tachnology, other knowlegde is needed i.e computers architecture, communications technology, operating system internals.

Again assembly programming does not suffice by itself.


0

Response Number 9
Name: StuartS
Date: November 5, 2005 at 09:47:15 Pacific
Reply:

>>Programming is the tool not the target<<

I agree. Or to put it another way; a means to an end, not an end in itself.

To many programmers treat programming as an end in itself. Thats why you get so many people saying that the only programming language is C++ and Visual Basic is rubbish. Completely losing sight of the objective to be achieved.

Stuart


0

Sponsored Link
Ads by Google
Reply to Message Icon

One question... how to write a script



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Newbie ?

newbie C help!!! www.computing.net/answers/programming/newbie-c-help/6768.html

Newbie Question www.computing.net/answers/programming/newbie-question/2041.html

newbie VB question www.computing.net/answers/programming/newbie-vb-question/14418.html