ECM BASIC ELECTRONICS -3
Comments 0
Sign In To Comment
Comments
    Show Transcripts
    Transcripts
    +
    CAPTION


    mhm Mhm Or in other words you simply write down those actions which you need

    to make Mhm But here it is visible that it is necessary to divide clearly all actions which

    you need to make and give Mhm Yeah Mhm Yeah This program breaks down into a language more specifically

    most often there is a translation directly into machines and frames Since machine codes are essentially ensemble language

    we can consider that there is a transition into the language of the ensemble That is

    the high level language Mhm Mhm For you to decide how these actions should be prescribed in

    the assembly you sort of abstract away from all these year low level operations that is

    You no longer need to know about all these registrations about some data memory cells about

    some individual commands Mm You simply describe the algorithm that you need to implement and then the

    implementation of this algorithm in the commands engaged in a set of a high level languages High

    level languages in comparison with the plane have three main advantages The first main advantage it immediately catches

    the eye And is that the program in high level languages is much shorter than the program on the assembly

    If you compare the two programs that perform the same action it becomes clear the difference This program is written

    in C language and in Yeah More precisely to say court it has received after the appeal of the program

    in C language at a comparison at once becomes clear that programming in C language gives shorter programs System Mm

    hmm The second advantage follows from the first and consists in that the program in a high level language is

    much more transparent from the point of view of the program algorithm record Yeah if

    you look at this program it becomes clear at once the program algorithm considers the number and then

    the number is divided on the counted number And this result is output on the

    contact portal That is in a high level language a programmer can concentrate on writing

    an algorithm without going into these subtleties Of course Well the third advantage of a high

    level language is that it is simply easier to learn several rules of a high level language than to

    learn these very different commands And at the same time you also have to understand programming architecture quite well Mhm

    That is it is much easier for beginners to learn high level languages Besides advantages the first and

    most important disadvantage is that no matter how good the emperor is he can never make the assembly

    code more compact and faster than a human can A human will always make a

    more compact and faster assembly than even a good high level language It can do Modern emperors

    are quite equality Software product There are many Saturdays thought up So modern kids create really good code but they

    can never match a qualified kids programmer Such a drawback of the emperor as creating not

    quite efficient code looks not so bad when you are a programmer for a personal computer Mhm Modern

    personal computers are very powerful machines that have hard disk capacity accounts in units Mm them

    count in units But when it comes to programming microcontrollers then the disadvantages of the computer become very

    noticeable because micro control is actually a reduced copy of the computer in the microphone

    Zero program memory is counted in units Mhm RAM is counted in hundreds and frequency is counted in units hearts

    That is such a very weak computer And if you predict for metro controllers than any computer disadvantages greatly

    affect program performance Mhm In metro controllers unlike a high level language one more disadvantage of

    the high level languages is that sometimes the emperor that algorithm that would be registered in

    the program not absolutely correctly translates into the assembly code Mhm Mhm More exactly speaking this defect is inherent

    not in the whole high level languages but a particular emperor That is If the

    emperor is not made very qualitatively then sometimes there are such situations that the algorithm that

    you describe is not quite correct Yeah especially often such situations occur when you try to prescribe

    a very fine way Some fool and as a result of a conflict you simply do not understand the subtleties

    that the programmer is trying to prescribe with this code as a result of this misunderstanding between the programmer and

    the commenter you get a nonworking code and if you do not know the ensemble language it will

    be very difficult for you to understand why your program does not work Unlike the

    higher level language assembly is always a very precise language that is all process commands are always executed exactly and

    correctly So if your program in assembly language does not work then in principle it can be

    a matter of searching for errors Yeah well and the last disadvantage of a high

    level language is that this language hides from you all subtleties of microprocessors work All subtleties of Montolivo player

    Mhm Right On the one hand this is certainly an advantage but on the other

    hand this is a drawback Montolivo Unlike computers can have very different architecture they can have

    a very different set of peripheral devices which are included in the microcontroller chip Mhm And unlike

    programming on personal computers to each micro fuel in fact need an individual approach Mhm Yeah

    especially if if you are learning high level language programming you don't understand how a microcontroller

    works you don't understand how these commands are executed you don't understand how the microcontrollers peripherals and

    devices work And if you don't understand how a metro controller works then of course

    you can't effectively use that microcontroller and worst of all it becomes very difficult to learn other microcontrollers because

    without learning and understanding how at least one microcontroller works You will find it very difficult Therefore I recommend

    learning programming at least one anatoly on assembly because the only assembly will give you an understanding of how an

    italy works from within as all algorithms which you put in the program are executed processor as periphery micro fuel

    works Mhm Mhm Yeah And if you will understand these basics of work as a whole

    it will not be difficult for you to master work What other controllers of course I do

    not assert that all controllers of programming namely on assembly but at least one micro The controllers should

    be learned to program Mm What nowadays Very few people programmed on computers In fact because

    it takes a lot of time and you can't make big complex programs on them Mhm

    It was when computers were very weak when you had to fight for every bite for every clock That language

    was relevant then And now of course programming on the emblem is not as effective as on high

    level languages And the same way anatolia is evolving every year new controllers appear they become

    faster memory capacity is constantly increasing and everything is going towards the but to learn how to

    program the underground controllers at least learn how to program one mike in one architecture

    I think it is necessary exactly in the language because the only ensemble gives you an understanding

    of architecture Montolivo and in all video lessons of this course I will show how to program micro

    and at all in the language When you master programming in ensemble language you can write less

    normal programs then you can pass to high level languages such as C language To this end I finished this

    video and see you later Thanks for watching