• 0

Hey calling all programmers to give help if you wish


Question

Hey i'm in year 11 now this year

doing Software design and development

starting on turbo pascal version 1.5

i know it's old

and it's BS to you guys

but gees i'm just soooo lost about this we jump so fast

we start talking about object orientated and then we start talking about flowcharts ans psuedocode

wat the hell am i learning

so can you guys give me some tips on what to do in programming

do u guys still remember when the first time u touched this stuff?..

Recommended Posts

  • 0

For those who doesn't know what assembly langauge is...

I'm not good at explaining things but I'll try my best.

Assembly language exists for all modern microprocessors and are written as normal text to make it easier for the programmer.

There are x86 assembly language, 68k assembly language, z80 assembly language and so on...

The language doesn't look the same for all architectures.

The language are often called ASM... ;)

The softwares that assembles the assembly code are called assemblers and not compilers.

An assembler just converts the code into machine code.

Too copy a string you just do this:

<pre>

lea edi,szDestinationString

lea esi,szSourceString

mov ecx,27

rep movsb

</pre>

That code will copy 27 bytes from szSourceString to szDestinationString.

Null-termination are VERY important when it comes to programming ASM...

Here's some code for printing text(doesn't require any OS):

<pre>

mov ax,1301h

mov bx,7h

mov cx,15h

mov bp,szMsg

int 10h

</pre>

Note:

Many may say that ASM ain't usefull today, but it is! You can use it for writing Win32 and Linux applications.

What makes it usefull?

Well, it's fast... what you write is what you get...

I have written my own litte software in ASM for Win32, called "Application Profiler 2.0"... I've posted it in this forum twice.

It's still a beta and won't be relased until it works for 100%...

I may seem strange, but I think that C++ are more difficult than ASM! :D

This may seem hard but it ain't that hard, it's just hard to master it!

  • 0

Old 32-bit code will run on the x86-64 and the IA-64 CPUs.

The x86-64 will be able to run old x86 code.

(AMD just extends Intels old x86 architecture)

Intel have developed the IA-64 architecture together with HP.

(IA-64 CPUs can run 32-bit x86 and PA-RISC code)

So don't worry that your current 32-bit applications won't run on the new 64-bit CPUs from AMD or Intel.

  • 0

Assembler is not a bad language - very old though and VERY unstable - what I mean by that is each processor type has it's own instruction set, therefore programming for a Intel Pentium processor in assembler would use different code in a lot of places that writting assembler code for an AMD for example. It does offer 100% control over the entire computer but why not just program the core of an application in assembler or binary like Jasc did with Paint Shop Pro 7. It's much easier and it means that the main bulk of the application can be written in C or C++ for example - much easier to write a few hundred lines of code than a few hundred thousand...but that's just my opinion...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.