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.
468 questions
1 vote
1 answer
105 views
Why aren't nested interrupts working on the R5F core on the AM2434/AM6442 when using VIM?
QUESTION: Why aren't nested interrupts working on the R5F core on the AM2434/AM6442 when using VIM? This question is not about someone reviewing my code. It's about trying to understand the ARM R5F ...
1 vote
1 answer
119 views
Accessing a C variable to use it as a literal in assembly code
Within an XC16 assembly code portion, I want to use a C variable as a literal. Here's a portion of my code : C function : int x=4; int *TrisCSX = (int*) 0x2C8; x ...
0 votes
1 answer
135 views
Assembling tactile switch onto PCB
I am attempting to repair the following piece of electronic. The tactile switch is an interface for the on/off button that on the case of the device. I have tried soldering the tactile switch onto the ...
6 votes
1 answer
1k views
Compile time error with inline PIC assembly in MPLAB XC16 C
In a PIC24FV32KA302 C code, I want to add inline assembly. For this, I use, for instance, __asm("BSET PORTB,8");. When compiling, I get the following ...
2 votes
1 answer
205 views
Flip chip assembly consideration in PCB stack up
In the following 14 layer PCB, there is a flip chip assembly for one of the chips, the chips is very fine pitch around 200 um: Considering that in flip-chip assembly, the heating process occurs from ...
2 votes
3 answers
282 views
Tool for closing FFC / FPC connectors
In a manufacturing line, we need to close a 30pin, top contact 0.5mm FPC connector, something like Amphenol F32Q-1A7H1-11030. We use pliers for that, insert the cable, close on one side, then close on ...
0 votes
1 answer
133 views
Leveraging the ability of AVR microcontrollers to self-program [closed]
I am planning writing an elaborate swarm-like (8-16 chips with no common bus to speak of) solution. Given that I plan on storing 3k of data (considering implementing compression) and need some clarity....
0 votes
0 answers
121 views
How does the MIPS ALU unit perform the assembly commands of XOR or SHIFT (left or right)?
I understand that when in assembly I input a command like XOR or SLL I have the opcode bits and the funct bits which tell the MIPS what to do, but I don't understand how it does so. When looking ...
0 votes
2 answers
176 views
Keil uVision 5: stuck on question of assembly code for 8051 microcontroller to implement a logic circuit [closed]
Unable to solve the above question. Getting error A40:invalid register when running this code on XRL instruction: ...
3 votes
3 answers
201 views
Using multiple timers PIC18F45K22
Initial Problem I'm trying to make a push-button incremented counter on two 7-segment displays ranging from 0-10. Ultimately I want Timer0 to handle the 7seg multiplexing and another timer for ...
1 vote
0 answers
210 views
STM32 debugger shows wrong stack pointer
Before explaining the problem I want to say as a disclaimer that I am a total beginner with baremetal coding in ARM, so the problem could be anywhere. I am following this guide to move my first steps. ...
1 vote
0 answers
202 views
Illegal Hardware Instruction [closed]
Currently, I'm working with Jetson Nano 2Gb, and I facing the problem about assembly when I debug with gdb, I receive ...
0 votes
1 answer
101 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 ...
1 vote
2 answers
215 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 ...
0 votes
1 answer
104 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: ...