This is a programming language that is at a low level that corresponds with the instruction set of the machine being programmed.
Questions tagged [assembly]
453 questions
                    
                    7
                    
            votes
                
                4 answers
            
        Assembly Language Program Design
This is a homework assignment problem and I tried to solve this all last night but I am still a newbie in Assembly language.
Dont give me the full solution, just give me a hint.
Design an ARM Assembly Language program that will examine a 32-bit
 …
         
    
    
        Avnish Gaur
        
- 245
- 1
- 3
- 10
                    1
                    
            vote
                
                1 answer
            
        What is the difference in RISCV between JAL and JALR?
I'm kinda confused on what the difference is between the two instructions and would love a comparison of the two!
         
    
    
        Manny
        
- 13
- 1
- 1
- 3
                    1
                    
            vote
                
                1 answer
            
        beq assembly MIPS
I'm so confused about beq function in assembly MIPS.
Lets assume I have beq $t1 $t2 60 , so it would be mapped as I type function. so we could say for example assuming that beq mapped to  
100100 , $t1=5 , $t2=4, and immediate 60  
so the block of…
         
    
    
        Tony.M
        
- 57
- 3
                    0
                    
            votes
                
                1 answer
            
        How to "translate" to C the assembly command mov
I'm not sure how to understand the assembly command mov. e.g. in the following section:
mov -4(%ebp),%eax # %eax=*(%ebp-4), so eax is geting the **value** that is stored in ebp-4
in general, whenever I do:
mov (mem_address), %reg # reg =…
         
    
    
        E. Ginzburg
        
- 197
- 1
- 1
- 9
                    0
                    
            votes
                
                1 answer
            
        Packaging a small electronics project
(first question on this board - n00b alert)
I'm on a second iteration of a small autonomous project which logs changes in magnetism.  It consists of just:
Espruino board
Lipo battery
HMC5883L magnetometer
Battery and charger on the bottom, Espruino…
         
    
    
        Cups
        
- 105
- 5
                    0
                    
            votes
                
                1 answer
            
        PIC18 inline asm problem: error (195) expression syntax
I'm building a bootloader firmware, and now I want a simple app (LED blinks) to test calling bootloader from application itself.
I'm currently doing:
    #include 
#include 
#include 
#pragma config FOSC =…   
         
    
    
        Rorschach
        
- 113
- 1
- 5
                    0
                    
            votes
                
                1 answer
            
        Numerical value in decimal of the 32-bit word stored at address 1000H
I'm a little confused how to tackle these three questions. 
Assuming two's complement arithmetic and operand alignment, give the numerical value in decimal of the 32-bit word stored at address 1000H and of each 16-bit half-word stored at addresses…
         
    
    
        Carlo
        
- 129
- 3
- 7
- 15
                    -2
                    
            votes
                
                1 answer
            
        How arrays work in assembly language
I am not able to understand how arrays work in assembly language. In Irvine's book on Assembly Language it's written:
*** A string can be divided between multiple lines without
having to supply a label for each line:
greeting1 BYTE "Welcome to the…
         
    
    
        Ashutosh Tiwari
        
- 101
- 1
                    -4
                    
            votes
                
                3 answers
            
        why don't use microcode?
Why don't programmers write applications in microcode? 
Is it because microcode is hard to understand and write or mostly processors ain't microcode compatible? 
I want the reason 
         
    
    
        awan
        
- 1