
Originally Posted by
mcbeasleyjr
What is the difference in writing a program using the basic like language used in Microcode studio and writing a program using assembly language? I mean, once a program is written in basic, it is converted to both assembly and hex for programming. So is there still a significant difference?
I cannot speak for all flavors of basic or C, the biggest difference is going to be your time. Assembly requires many times more lines of code to be written by YOU the programmer. PBP is a carefully written compiler which generates assembly code which is then converted into the Intel HEX file required by the PIC. The issue BASIC vs C or BASIC vs assembly goes back decades to the early BASIC languages used by the PC where they ran through an interpreter and that ran quite slow.
PBP does not do that, it is a real compiler and produces a fairly compact code. Can you write better more compact code in assembler or C ? Yes IF you know what you are doing, and are careful, you can. Why is that ? Because people are still smarter than computers. You will get programs up and running much faster in basic.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks