Questions tagged [68hc11]

The 68HC11 (6811 or HC11 for short) is an 8-bit microcontroller (µC) family introduced by Motorola

The 68HC11 (6811 or HC11 for short) is an 8-bit CISC microcontroller (µC) family introduced by Motorola in 1985, and it is now produced by Freescale Semiconductor. It's a descendant from the Motorola 6800 microprocessor.

Microcontrollers of this family are used in barcode readers, hotel card key writers, amateur robotics, and various other embedded systems.

38 questions
1
vote
1 answer

Simple loop (reading temperature - MC68HC)

I was reading a chapter related to I/O using the MC68HC11; this book showed a suggested exercise (not really a hard one) but i was not able to solve it by using assembly: I've been thinking and i can do it by using some basic logic (i do program in…
JustToKnow
  • 785
  • 6
  • 23
1
vote
1 answer

68hc11 assembly (first steps) - sorting

I just fell in love with this particular microcontroller, 68hc11 has an amazing architecture. I'm not an expert but i want to improve, assembly is kinda hard but i want to program this microcontroller. This assembly code will execute from $100, will…
JustToKnow
  • 785
  • 6
  • 23
1
vote
2 answers

Reading memory address's in c using user inputted hex values

The aim is to allow the user to input a memory address (in Hex) and print out the contents of the address. The code is running on the Motorola 68HC11. So far i am able to read memory addresses using hard coded values: void displayMemory(){ char…
Aaron Nebbs
  • 506
  • 1
  • 6
  • 15
1
vote
2 answers

True-Time debugger / hiwave.exe: run multiple instances?

I have a couple Freescale 68HCS08 MCUs connected in an I2C network, running different programs. When I click "debug," Codewarrior checks for a running instance of hiwave.exe to load and debug the program. I'd like to debug both simultaneously, which…
Potatoswatter
  • 134,909
  • 25
  • 265
  • 421
1
vote
1 answer

Can't write to SC1DRL register on 68HC12 board--what am I missing?

I am trying to write to use the multiple serial interface on the 68HC12 but am can't get it to talk. I think I've isolated the problem to not being able to write to the SC1DRL register (SCI Data Register Low). The following is from my SCI ISR: else…
Justin
  • 305
  • 2
  • 12
1
vote
1 answer

Binary Search Assembly 68HC11

I have to make a binary search algorithm in Assembly (69HC11) with loops. This is what I have done: ORG $C400 ;n1-n5 will have numbers N1 RMB 2 N2 RMB 2 N3 RMB 2 N4 RMB 2 N5 RMB 2 IZQ RMB 2 DER RMB 2 ;Here is where is going to be the answer MID…
1
vote
2 answers

How to create an array in assembly for 68hc11?

I need to write a program that will execute from $100, allocate a 200-byte array at $800, and initialize that array with the values 200, 199, … 1. I need to know how to create a loop that will decrement an array while decrementing the value to be…
1
vote
1 answer

Is 68HC11 pipelined?

Does 68HC11 have Pipeline technique for improving the performance of the Integrated Circuit? Is 68HC11 use pipelined? I didnt find useful information Thank you
1
vote
3 answers

Hunting for an (old?) 68HC11 Cross-Assembler

A friend has asked for help with some 68HC11 assembly code. The code was written for a DOS/Windows cross-assembler with an executable name of X68C11. Does anyone know if that assembler can still be found, or if there is a compatible assembler that…
Harper Shelby
  • 16,475
  • 2
  • 44
  • 51
1
vote
1 answer

Computing the checksum of an array of bytes in 68HC11 assembly language

The checksum is computed as the sum without carry of each byte of the array and is put in the register B. The size of the array is in register A and the array is in memory starting at the address in register X. So far I got this program: ORG …
user43680
  • 33
  • 6
0
votes
0 answers

ANSI C90 68hc11 Assembly Language, Opcode Error Trapping

im trying to write a program that implements modifying memory and then disassembling it with Assembly Language. Currently ive got the basics set up, as in it'll take the commands and you can modify the memory, and it'll accept the LD opcodes, but im…
0
votes
1 answer

Copy memory with 2 instructions?

I am using 68HC11. I need to transfer content of the memory: content of $0098 to $0011 content of $0097 to $0010 But there is a limitation so I can not solve this. I have to use at most two instructions for this.
0
votes
1 answer

How to fix 68HC11 Compiler from making invalid JMP/BRA codes

I am compiling C code for programming an EPROM for a device. The compiler being used is the Hi-Tech C Compiler. I believe it is version 7.80. When I (Re-)Make my code, it produces a Binary (*.BIN) file for flashing to the EPROM. I have found that…
Deluril
  • 13
  • 1
  • 5
0
votes
2 answers

How 32-bit word would be stored in 16-bit architecture that does not detect overflow?

How would a 32-bit numeric codeword be stored in a hypothetical 16-bit architecture if this system cannot detect the overflow? How would it be stored in a real 68HC11 system? What confuses me is that in the system that does not detect the overflow,…
Kristina Cer
  • 105
  • 9
0
votes
0 answers

Trying to display two numbers to LCD from DIP switches on 68hc11

I am trying to figure out how to display two hex numbers read from the dipswitches on a husky 11 board. Our Lab only required us to display 1 number, but I am curious on how to display 2 numbers. I only want the switches to be read when I push the…
EEFez
  • 1