The assembly tag has no wiki summary.
1
vote
2answers
97 views
Error when compiling start-up file on STM32
I am attempting to provide custom interrupt handlers for my Cortex M3 (reference manual here). ST kindly provides a standard library, which has various startup files all called "startup_stm32f2xx.s". ...
0
votes
1answer
58 views
Microprocessors production processes - step by step. How microchips are made? [closed]
Possible Duplicate:
Could You recommend books, that describes in most comprehensive ways topics about microprocessors design and manufacturing?
I'd like to know, how the microprocessors are ...
4
votes
4answers
350 views
How can I set the condition code in assembly language?
I want test the variable sign. In other words, I want know answer to the whether a variable is positive or negative. How can I write following if-then-else conditions in assembly language ?
if X ...
3
votes
1answer
133 views
MIPS (PIC32): branch vs. branch likely
It's been a while since I've looked at the recent Microchip processors & I've been trying to learn a little bit about the PIC32 MIPS instruction set. I noticed there are two sets of branch ...
0
votes
1answer
118 views
PIC assembly code simplify
I need to convert the following PIC assembly code (below) to an 8051 assembly. It is an inline assembly code. Actually, I intend to convert it to C. I am not familiar with the PIC MCU so I do not ...
0
votes
1answer
257 views
How is a two-pass assembler designed? [closed]
What is the algorithm for the first pass and the second pass of an assembler?
I have been looking for a description or tutorial but haven't found one. If there are tutorials that explain these ...
13
votes
6answers
409 views
Identify processor type from raw binary code?
Not really related to chips, but hopefully I'll get some directions to follow from here.
I got a chunk of code, but I don't know what processor it intended for.
Are there tools available that can ...
2
votes
2answers
106 views
How are cpus enumerated/identified/counted by BIOS and other low-level routines?
By what mechanism is a BIOS or a kernel able to "see" (enumerate,identify,whatever term is right) other CPUs in an SMP system? How is the boot CPU able to initialise and then "launch" the second or ...
-1
votes
2answers
320 views
Creating 1 hour delay with 89C51 micro controller
I am writing an Assembly Program function for 89C51 which can create one hour delay. I can't use any other micro controller as only 89c51/52 is available locally. So I am stuck here because even when ...
-2
votes
1answer
108 views
Assembly Packed Bcd
I was trying to make a subroutine called count that will count the number of
occurences of the string ‘hello’ in the 64 KB external memory with 8051 microprocessor. What i wanted to make is that ...
1
vote
2answers
133 views
Creating an ASM file that will return the characters located in 8 consecutive registers
I have to create an ASM file for the PIC18F452 that does the following:
(a) define the label MapName as the first of 8 consecutive registers containing a null-terminated string of not more than 7 ...
1
vote
0answers
239 views
Proteus 8051 microcontroller and lcd
I have just started using Proteus 7.7. I needed to build a MDE 8051 TRAINER( http://digilentinc.com/Products/Detail.cfm?NavPath=2,396,607&Prod=MDE8051 ). However, I could not build any components ...
1
vote
1answer
167 views
MIPS Main Control Logic
In the Patterson & Hennessy book,
This is for these 4 instructions, if I need to implement instructions like andi, addi, ori, j, etc, do I add on to this table? Or do I do something else?
...
4
votes
1answer
215 views
MIPS Assembly Memory Addressing “Pseudo Direct Addressing”
Could anyone explain how does Pseudo Direct Addressing work in MIPS?
I don't really get how does using the last 4 bits from the PC (Program Counter) fit into the picture?
Suppose I want to goto ...
2
votes
2answers
109 views
Thermal adhesive for chip heat sink
I need to glue a small heat sink on top of a DIP transistors array.
At the moment I have used this adhesive:
http://uk.farnell.com/fischer-elektronik/wlk-5/adhesive-thermal-conductive/dp/1211723
I ...