Skip to main content Skip to local navigation
Home » Category: 'assembler' (Page 2)

assembler

Sabbatical Report: Writing a Textbook & Getting a Book Deal

While on sabbatical I started getting serious about writing a book.  In spite of having wanted to write a book for years, writing one while on sabbatical wasn't my primary goal.  But as visa issues in France became more difficult and made more traditional research work harder the book writing became a bigger focus for […]

Programming the INSA PIC16 Board

After a few months twiddling PIC16 bits in simulation I need to get three, three-hour lab sessions written up for the PIC16F84.  The school has provided me with two versions of their PIC16F84A boards, one designed for Mechatronics students and one for EE students. The board designs date to the dawn of the Arduino era […]

A Simple Program on Three Simple Microcontrollers: Compare and Contrast

Introduction Here we're going to "kick the tires" on examining a simple example program, using three 8-bit microcontrollers: the classic PIC16F84A, it's updated cousin found on the Microchip Curiosity Board, the PIC16F1619, and the ATMEGA328P made famous by the Arduino UNO. We'll be using a "debugging first" approach to programming that is intended to enable students […]

Is Assembler the Latin of Programming Languages?

How bad and outdated is Assembler?  For many of us, Assembler is the Latin of programming languages.  Below, I talk about my changing perspective on this. In preparation for the embedded systems course I'll be helping to teach at the INSA in Strasbourg I'm reviewing my PIC-based teaching material, mostly based on the PIC32.  This […]

Starting a New Assembler PIC16 Project in MPLAB X

As of MPLAB X 5 (v 5.05 and XC8 v2 compiler tested) you can develop projects for 8 bit MCUs like the PIC16, PIC18 and 8 bit AVR ATMEGAs.  You can even reprogram your Arduino UNO board using the new Microchip PICKit 4! Here I'm going to have a look at using at the Assembler […]

A Project to Compare C & C++

I want to spend my sabbatical year re-thinking my perspective on C++ and Assembler and how to teach engineering and computer science material using those two languages. To keep myself focused I'll need a target application, ideally with hardware.  In fact, two applications would be ideal: Controlling chip heat Alarm system The first application would […]

Rethinking C, C++ and Assembler

I don't like Assembler programming.  I was forced to use it in 1997 in EE 380 on the Motorola 68000 with Prof Nelson Durdle at the University of Alberta.  Ditto, for C++.  My C professor, Prof. Martin Mintchev, in EE 445 convinced me that it was bloated and terrible.  So, since that time, I've been […]