• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

How to explain assembler...

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    How to explain assembler...

    Got this student see...

    Has now spent 2 sessions staring blankly at PC & not doing a lot.

    I've explained about Mnemonics, and how the assembler program on the PC changes his source file from Mnemonics and stuff to funny hexadecimal numbers that get programmed into a PIC microcontroller.

    This does not seem to permeate through the fog...


    Any suggestions?

    Short of using a baseball bat...

    #2
    Try threatening to eat him. Then eat him anyway, it's nearly lunchtime after all.

    Comment


      #3
      Just pass him anyway with an A, and send him on his way.

      Blimey, have you learned nothing about modern edukation?

      Comment


        #4
        Does he understand the concept of a program?

        Get him to write out line by line what he wants to do in English.

        When he has doen that correctly get him to translate it into assembler.

        Simple.

        If he doesnt understand the idea of a program then get im to write out simple tasks liking making a cup of tea as a program.
        I am not qualified to give the above advice!

        The original point and click interface by
        Smith and Wesson.

        Step back, have a think and adjust my own own attitude from time to time

        Comment


          #5
          You forgot to add the step where he has to translate what he has written into French then Chinese then into assembler.

          Might get the idea then.

          Comment


            #6
            Start him on:



            and go from there.
            Serving religion with the contempt it deserves...

            Comment


              #7
              Print Off
              Iefzb4d0
              Iefzb4d2
              Print On
              Print Nogen
              Wtoa Csect 00000030
              R0 Equ 0
              R1 Equ 1
              R2 Equ 2 Address Of Parm Field
              R3 Equ 3 Length Of Parm Field/input Area Address
              R4 Equ 4 Work Register For Length Of Parm/output Area
              R5 Equ 5 Dcb Dsect Using Register
              R6 Equ 6 Record Length Register
              R7 Equ 7
              R8 Equ 8
              R9 Equ 9
              R10 Equ 10 Bal Register
              R11 Equ 11 Length Work Reister
              R12 Equ 12
              R13 Equ 13
              R14 Equ 14
              R15 Equ 15
              Ml Equ 70
              Save (14,12)
              Lr R12,r15
              Using Wtoa,r12
              St R13,save+4 Save Callers Save Area Addr
              La R11,save
              St R11,8(r13) My Save Area Addr In Callers
              Lr R13,r11 Now 13 Points To My Save Area
              * End Of Standard Entry Structure
              Eject
              L R3,0(r1) Load Parm Addr
              Sr R4,r4
              Lh R4,0(r3)
              La R3,2(r3)
              Mvc Ipowtol+4(70),sp
              Bctr R4,0
              Ex R4,msgmove
              Mvc Ipowtol+4(70),msg
              Sr R1,r1
              Wto Mf=(e,ipowtol)
              Lr R3,r1
              Stimer Wait,dintvl=time1
              Dom Msg=(r3)
              Stimer Wait,dintvl=time2
              La R10,0
              L R13,save+4
              Return (14,12),rc=(15)
              Eject
              ************************************************** *******
              * Constants And Variables *
              ************************************************** *******
              Ltorg 00005450
              Save Ds 18f
              *
              Msgmove Mvc Msg(0),0(r3)
              Sp Dc Cl1' '
              Ipowtol Wto ' X
              ',routcde=(1,2),desc=(1),mf=l
              *
              Msg Dc Cl70' '
              Ds 0d
              Time1 Dc Cl8'00100000'
              Time2 Dc Cl8'00001000'
              End 00005900
              Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

              Comment


                #8
                Darmstadt: Could you change your avatar please? Every time you post I seem to lose half an hour! I am sure it is the hypnotic effect of your avatar.
                I am not qualified to give the above advice!

                The original point and click interface by
                Smith and Wesson.

                Step back, have a think and adjust my own own attitude from time to time

                Comment


                  #9
                  Darmstadt: Could you change your avatar please? Every time you post I seem to lose half an hour! I am sure it is the hypnotic effect of your avatar.
                  (\__/)
                  (>'.'<)
                  ("")("") Born to Drink. Forced to Work

                  Comment


                    #10
                    Originally posted by zeitghost
                    Got this student see...

                    Has now spent 2 sessions staring blankly at PC & not doing a lot.

                    I've explained about Mnemonics, and how the assembler program on the PC changes his source file from Mnemonics and stuff to funny hexadecimal numbers that get programmed into a PIC microcontroller.

                    This does not seem to permeate through the fog...


                    Any suggestions?

                    Short of using a baseball bat...
                    Corrupting the minds of the innocent youth now are we?

                    Comment

                    Working...
                    X