Hot!PIC Assembler Simplified

Page: 12 > Showing page 1 of 2
Author
Champion
Super Member
  • Total Posts : 481
  • Reward points : 0
  • Joined: 2016/12/18 10:59:17
  • Location: 0
  • Status: offline
Flagged as Spam (4)
2017/10/28 09:06:09 (permalink)
1 (3)

PIC Assembler Simplified

 
Reread instruction set the other day.
 
Keeping in mind someone said microcontrollers are just I/O and registers.
 
Looks like there are MOV instructions and flow control.
 
Then the rest are 'tricks' or 'time savers'.
 
Increment and decrement. That kind of instruction.
 
I think I am going to go with that.

"What is it?" "It's what dreams are made of"-Casablanca movie
 
 
 
 
 
 

 
 
 
 
 
#1

32 Replies Related Threads

    DarioG
    farewell.
    • Total Posts : 53177
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/28 09:37:58 (permalink)
    4 (2)
    lol

    forget about me, subhumans. adieu

    #2
    Ewerning
    Super Member
    • Total Posts : 77
    • Reward points : 0
    • Joined: 2017/09/08 11:02:31
    • Location: Between 1 and 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/28 15:04:42 (permalink)
    4 (2)
    Is there a question or a statement here? Could not find it.
    #3
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/28 16:48:45 (permalink)
    1 (2)
     
    Think I'll leave it as is.
     
    Thank you.

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #4
    drh
    Arrrr
    • Total Posts : 1032
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Laguna Niguel, Calif. USA
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/28 18:42:32 (permalink)
    5 (4)
    The Microchip marketing team could use a guy with your talent.

    David
    #5
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/28 18:48:01 (permalink)
    1 (2)
     
    Buddy
     
    Who's getting something done and who's sitting there making stupid remarks?

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #6
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1541
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 08:13:58 (permalink)
    5 (1)
    You are the one making stupid remarks like you always do.
     
    Getting something done, you've poluted other forums with the same old crap, you've still asking how to flash an led.
     
    "Increment and decrement. That kind of instruction.
    I think I am going to go with that"
     
    You don't even know what it means.
     
    You are like a reverse Bill Gates.
     
     
     

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #7
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 08:19:11 (permalink)
    1 (2)
     
    Here's to show what you know about it.
     
    I have picked up these:
     
    ICD Original unused
     
    ICD2 Original unused
     
    Whatever you are bitter about tell it to somebody else please!
     
    Instead of blocking you I will just take a stand and defend myself from negative remarks.
     
    I will do this at my own pace.
     
    No malcontent is going to 'hustle-bustle' me along.
     
    If you don't enjoy talking about PIC's don't do it!
    post edited by Champion - 2017/10/29 08:33:44

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #8
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1541
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 08:40:21 (permalink)
    5 (1)
    I do like computer chips, we all do on here.
    I'm interested in micro code.
     
    You want to learn Assembly language but you need to get past the basics.
    Start with the ALU.

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #9
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 08:46:11 (permalink)
    1 (1)
     
    Gort
     
    Thank you.
     
    ALU. Got it.
     
    Did find out from old book something else.
     
    MOVF can be thought of as MOVFW. Some MPLAB's even take it as an instruction.
     
    I know you can MOVF out to register and back in to check flag also.
     
    I may have a little mixed up but I know what book it is in if I really need to know it.
     
    Will look at ALU.

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #10
    drh
    Arrrr
    • Total Posts : 1032
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Laguna Niguel, Calif. USA
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 10:36:28 (permalink)
    5 (5)
    picmicrocontrolleruser
     
    Buddy
     
    Who's getting something done and who's sitting there making stupid remarks?




    Buddy? My name is David.
    Iv'e been "getting something done" with PICs since 1994. With 6805s, NSC800s, and Z80s since 1978.
     
    You need to study up on the nop instruction.

    David
    #11
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 11:25:13 (permalink)
    0
     
    All you shown me is messing up my post.

    Forum grafitting. Don't like grafitti anywhere.
     
    Learning PIC's is what I'm doing.
     
    Anyhow taking a break from it generally and occasionally reading something about it for now.
     
    It's no big deal!

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #12
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1541
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 13:20:10 (permalink)
    4.5 (2)
    The 6502 and z80.
    I still remember the AF,BC,DE,HL registers of the original z80.
    Great chip to program.
    I worked out binary multiplication on that.  Before I had used a loop and wondered why it took so long.
    My first computer had a 16 digit display.  I think each digit had 13 segments.
     
    They were the days when no one at school had a computer, not even my maths teacher.

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #13
    drh
    Arrrr
    • Total Posts : 1032
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Laguna Niguel, Calif. USA
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 16:19:47 (permalink)
    4 (2)
    I forgot to add the 68HC11 and 68000.
    BTW, the NSC800 had 8085 and Z80 modes. Used the NSC800 in a military HF radio.
    The 68HC11 in a VHS tape duplication system and quality control system.
    The 68000 in an $80,000 semiconductor processing machine.
    Memories. grin: grin

    David
    #14
    DarioG
    farewell.
    • Total Posts : 53177
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 16:26:02 (permalink)
    5 (1)
    How 'bout 68008 and Sir Clive Sinclair? Smile

    forget about me, subhumans. adieu

    #15
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 16:41:41 (permalink)
    0
     
    http://www.petesqbsite.com/sections/tutorials/assembly.shtml
     
    The 'Learn Assembler in One Hour Flat' has 4 register setup.
     
    Probably wouldn't hurt me to learn x86 assembler first then tackle this.
     
    I think that is what is getting me. Lack of background.Have to face facts.Smile: Smile
     
    Thought it would take a week or two to learn these PIC's. Like Basic Stamp.
     
    It's been more than two weeks and I haven't gotten very far.Smile: Smile

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #16
    DarioG
    farewell.
    • Total Posts : 53177
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 16:43:23 (permalink)
    5 (3)
    more than two years, you mean possiblygrin

    forget about me, subhumans. adieu

    #17
    PStechPaul
    Super Member
    • Total Posts : 1414
    • Reward points : 0
    • Joined: 2006/06/27 16:11:32
    • Location: Cockeysville, MD, USA
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 17:20:25 (permalink)
    4.33 (3)
    I donated my original white ZX80 wedge computer to a local museum.
     
    https://museum.syssrc.com/
     
    At Johns Hopkins in 1966 I learned assembly and ForTran for the IBM 7094, using punch cards submitted as batch jobs, and getting piles of wide printouts. I also used AFBIC (All Fortran BASIC Interpretive Compiler). I think each student got maybe 5 minutes of CPU time which was probably worth $100. Most jobs only took a few seconds of CPU, but turn-around time was usually several hours.
     
    Around 1980 I used a CP/M computer with 8" floppies, to program an 8085 using assembly, and later the Z80 using the M80 macro assembler and L80 linker. In 1982 we got one of the first IBM PCs and I still used M80 and L80 by means of a "Baby Blue" card. I did a little assembly programming for the 8086/8088. For the Z80 projects I used a ZAX emulator (which I still have).
     
    I used BASIC for console applications, and then in 1987 I took a course in Pascal, so I bought an early version of Borland Turbo Pascal. Then I bought Turbo C and learned that on my own. Around 1998 I bought Borland Delphi 4 Pro, as well as Turbo C Builder, for Windows apps. Once I learned it, I far preferred Delphi and it is still my "go-to" compiler for OOP. I've done some VBA as needed to customize some applications, particularly Microsoft Access. Some WScript and JScript. I've done websites using HTML and JavaScript, and some server side stuff with Perl and PHP.
     
    I designed a few simple Programmable Logic Devices (PLDs) to make custom TTL devices, and then looked into microcontrollers. I had a "Vitrax" single board controller programmed in BASIC, and I was going to use a Hitachi 64180, but then I looked at the BASIC Stamp and finally settled on the Microchip PIC16C63 for my first projects about 20 years ago.
     
    Glad to see "Chumpion" is back to give us some comedic content.

     
    #18
    Champion
    Super Member
    • Total Posts : 481
    • Reward points : 0
    • Joined: 2016/12/18 10:59:17
    • Location: 0
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 17:35:45 (permalink)
    0
     
    Think this points to more 'taking a break from this'.
     
    See you all around!

    "What is it?" "It's what dreams are made of"-Casablanca movie
     
     
     
     
     
     

     
     
     
     
     
    #19
    drh
    Arrrr
    • Total Posts : 1032
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Laguna Niguel, Calif. USA
    • Status: offline
    Re: PIC Assembler Simplified 2017/10/29 18:08:27 (permalink)
    4 (1)
    When you are "naked" and enter a room with "fully dressed engineers", you should expect some giggles and finger pointing. It's called paying your dues. Some can, some can't.

    David
    #20
    Page: 12 > Showing page 1 of 2
    Jump to:
    © 2017 APG vNext Commercial Version 4.5