Skip to main content

Questions tagged [assembly]

This is a programming language that is at a low level that corresponds with the instruction set of the machine being programmed.

-1 votes
0 answers
50 views

Low-end MCU development board von Neumann [closed]

I am learning assembly language programming with an ATmega328p (Arduino Nano). Unfortunately, due to the Harvard architecture, I cannot execute code from the SRAM, which is important for my current ...
user380637's user avatar
0 votes
1 answer
44 views

LCD Entry Mode Set and AVR MCU

I want to simulate **the Entry set mode ** function of and LCD based on HITACHI 44780 Controller. (Here is the datasheet.) The "Entry set mode" is given the following code of the 8 bits data ...
learn design's user avatar
  • 1,020
0 votes
2 answers
92 views

1-bit computing with true one-instruction set architecture

Even though MC14500B is considered as 1-bit computing where it accepts 1-bit data to perform operation, the instruction set itself consisted with 4-bit instruction which leads having 16 total ...
Muhammad Ikhwan Perwira's user avatar
0 votes
1 answer
41 views

AVR assembly indirect addressing: "Found no label/variable/constant named …"

I am currently trying to indirectly address the SRAM of the ATMega328P by using the following code: ...
user380637's user avatar
0 votes
0 answers
79 views

Trying to get PIC code to work

Relevant info can be found in this Google drive folder, breadboard is 1:1 with the schematic. So, I've been scratching my head for the past few days to get this design to work, I tried to get some ...
JamesTDG's user avatar
0 votes
2 answers
44 views

Use multiple ARM assembly files in a project

I am an electronics student and I am learning how to use assembly language on an ARM Cortex-M4, specifically for the STM32F401CCUx microcontroller and, even more specifically, on the BlackPill board (...
Pinula1's user avatar
2 votes
1 answer
59 views

How to run a pure assembler program from the flash of an STM32?

I am trying to write a pure assembler program (LED blink) for the Nucleo-F103RB. I create a new project in the STM32CodeIDE and remove all files except STM32F103RBTX_FLASH.ld and startup_stm32f103rbtx....
Arseniy's user avatar
  • 2,247
1 vote
1 answer
72 views

Why is this 8051 ASM code not working?

I’m trying to implement an automated parking lot using an 8051. I’m using stepper motors to function as gates at the entrance and the exit of the parking lot that open whenever the IR sensors placed ...
Captdeadpool's user avatar
0 votes
2 answers
300 views

LCD 16x2 not taking commands from MSP430FR2355

I have been facing this issue for about a week, and after hours of trying to debug it, I was hoping I could find some help here. I have been trying to use an LCD 16x2 screen (unaware of the exact ...
Pixeled's user avatar
  • 53
0 votes
0 answers
60 views

Turning on and off LEDs based on button input in ARM assembly

I am using an MSP432P401R. Attempting to turn on an LED when the button is pressed, and turn on a different one when the button is not pressed. It compiles but doesn’t do anything or light up either ...
ethanm's user avatar
  • 1
2 votes
1 answer
70 views

PIC assembler to perform arithmetic on 10-bit number spanning 2 registers

I wondered if there was any 'clever' way of decrementing a 10-bit value which is stored across 2 registers. In this case, its the PWM duty cycle value which has its 8 MSB in PWM1DCH and its 2 LSB in ...
NomadAU's user avatar
  • 183
0 votes
0 answers
32 views

Confusion about the Link Register content during exceptions in ARM

I can't understand how the link register of the exception mode is updated during the exception. Why for the SVC, Prefetch Abort and Undefined Instruction, the LR is having PC + 4 but for the Data ...
Emad Kheyroddin's user avatar
3 votes
3 answers
351 views

Is assembly microarchitecture dependent?

Many microarchitectures can implement a given digital system architecture. For example, and as Weste and Harris explain in their CMOS VLSI Design, Digital VLSI design is often partitioned into five ...
EE18's user avatar
  • 1,161
1 vote
0 answers
174 views

Understanding the 20-Bit Addressing in 8086 Memory Architecture: Why Not 18 Bits for Base and 16 Bits for Offset?

I'm curious about the memory addressing in the 8086 microprocessor. Given that there are four segments and 16 bits for the offset address, the total address space is 20 bits. I'm wondering why there's ...
Emad Kheyroddin's user avatar
2 votes
2 answers
67 views

I2C BME688 Read Request Sent, but no data received

As the title suggests, im interfacing with the BME688 using I2C. The signal I captured using my logic analyzer is shown below. The slave address is 0x76 and register address im trying to read is 0xD0. ...
lrdewaal's user avatar

15 30 50 per page
1
2 3 4 5
31