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
0
votes
1 answer

Increment a table in Assembly (68HC11)

I have a program with two data tables and a result table ORG $B000 TABLE1 FCB 222, 37, ... TABLE2 FCB 37, 100, ... ORG $B010 RESULT RMB 8 My program loops through the values in each table and…
Omega Collision
  • 125
  • 2
  • 15
0
votes
1 answer

Store value in memory address using Assembly with 68HC11

I´m new to assembly programming so I´m using THRSim11 to program some assembly examples. I´m trying to store a value in memory address $0142 but it seems the value in this memory address doesn´t change. LDAA #$00 STAA $0142 I first load Acc…
LazyTurtle
  • 131
  • 1
  • 3
  • 16
0
votes
1 answer

68hc11 assembly Conveyor belt program

Hi I am fairly new to programming 68hc11 assembly and was wondering how to go about proceeding with this problem. A conveyor belt sensor is connected to bit zero at memory location $8000, write a program to count the number of objects that pass…
0
votes
1 answer

Assembly programming 68HC11 microcontroller

1 ORG $0020 start of RAM (data) 2 AT1 RMB 2 3 Space RMB 1 4 Length RMB 1 5 Count RMB 1 6 Ptr RMB 2 7 ORG $E000 start of ROM (program) 8 START LDX AT1 9 STX Ptr 10 LDAA Length 11 …
0
votes
2 answers

Taylor series implementation in assembly language using 68hc11

How to implement Taylor series to calculate sine value in assembly using 68hc11. As 68hc11 does not support floating point, display value will be in integer..(e.g. multiply by 100 to make integer value).
0
votes
1 answer

16-bit integer unsigned number into an ASCII string representing the number in hex

For Asembly (68hc11) This is an assigment to handle in paper. Write a program to convert a 16-bit integer unsigned number into an ASCII string representing the number in hexadecimal. The number is in register D0 and the string is in put in memory…
user43680
  • 33
  • 6
-1
votes
1 answer

Fibonacci sequence on 68HC11 using 4-byte numbers

I'm trying to figure out a way to implement the Fibonacci sequence using a 68HC11 IDE that uses a Motorolla as11 assembler. I've done it using 2-byte unsigned in little-endian format, now I'm attempting to change it using 4-byte variables, using…
-2
votes
1 answer

Positive, negative and zero (assembly)

I'm programming an old MCU (68hc11), I'm trying to migrate from C language to assembly code using the 68hc11 instructions. I want to write a program in assembly that counts the number of POSITIVE, NEGATIVE, and ZERO values that exist inside a given…
JustToKnow
  • 785
  • 6
  • 23
1 2
3