Hello all, Let me first state that this is my first program written in ARM, so please excuse that it might seem a bit chaotic. Also, I want to state that this is a homework assignment for an assembly class. I am supposed to read in an input file, only print out ascii chars space, A-Z, and a-z (toUpper as A-Z) as well as Carriage Return Line Feeds and a CRLF as the 1A (EOF char). Going through the debugger it seems to be working as intended, but it isn't writing to the outfile :( If anyone can point out …

Member Avatar
Member Avatar
+0 forum 5

The EE Times [URL="http://www.eetimes.com/news/latest/showArticle.jhtml;jsessionid=CK0UKKNE0NKJCQSNDLSCKHA?articleID=213402554"]reported[/URL] earlier this week that the Dell E4200 and E4300 laptops are running both Linux and Windows on the same machine. Why both you ask? The Linux OS provides a quick boot for checking email and other "light" computing duties while the Windows side allows "heavier duty" computing like running Microsoft Office applications. It runs with two chips, one from ARM and one from Intel. The ARM chip, provides instant on booting and is much more power efficient, while the Intel chip provides the juice to run apps that require more computing power. [B]It's Two, Two, Two …

Member Avatar
Member Avatar
+0 forum 10

I am not know When Facebook Lunch his first Smartphone? But one Blog Published news about that. They told: "Facebook is planning an Android phone, ready to start the brand social network, according to the report.' Please told me about this news. Thanks

Member Avatar
Member Avatar
+0 forum 1

hi all. i have implemented Karatsuba algorithm for multiplication of large numbers . when i compile .c file it is giving correct output using followin commands in **linux** terminal. **gcc ulti.c ./a.out < hi.txt** But problem arises when i try to run it in **ARM** using following commands. it give result entirely different than correct answer. **arm-elf-gcc -S ulti.c arm-elf-gcc ulti.c arm-elf-run ./a.out < hi.txt.** can anyone shed some light on it. it would be of great help as assignment is due tomorrow. source file in ARM is given below the c program. Here is **ulti.c(program for karatsuba algorithm)** #include<stdio.h> …

Member Avatar
+0 forum 0

Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so much.

Member Avatar
Member Avatar
+0 forum 3

Hi, I am tasked with writing selection sort in assembly. We are writing for the ARM processor. Currently, this is what I have: [CODE] sort2: 73 stmdb sp!, {v1-v5, lr} @ Copy registers to stack 74 ldrb r5, [a2] @ J = n 75 76 ldrb v2, [a1] 77 cmp a2, #1 78 beq skip_sorting 79 80 sub r5, r5, #1 @ j = N-1 81 outer_loop: 82 cmp r5, #0 @ j > 0 add j-- at the bottom 83 beq skip_sorting 84 85 inner_loop: 86 mov r6, r5 @ k = j 87 sub r6, r6, #1 @ …

Member Avatar
+0 forum 0

heres my C code this was easy: -Chris g [CODE=c]#include <stdlib.h> #include <stdio.h> extern int numodd( int array[], int size ) ; int main( int argc, char * argv[] ) { int numarray[] = { 2, 3, 1025, 3024, 4057, -3, -1025, -3578 } ; int size = sizeof(numarray) / sizeof( int ) ; int result ; result = numodd( numarray, size ) ; printf( "Number of odd numbers: %d\n", result ) ; exit( 0 ) ; }[/CODE] ARM CODE: [CODE].global numodd .text numodd: stmfd sp!, {v1-v6, lr} @load from memory mov v1, #0 mov v1, a2 @store mov v2, …

Member Avatar
Member Avatar
+0 forum 1

Here is an arm assembly code for factorial function (along with the c code).i am a bit confused with the stmfd and ldmfd instructions.what are they exactly doing in this program? what does the exclamation mark do? why is label .L2 being loaded into r0? i kno that stmfd and ldmfd are used to store and load multiple registers in full descending mode but what are they doing with fp,ip,lr,pc in this code? [CODE] .file "factorial.c" .text .align 2 .global factorial .type factorial, %function factorial: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 1, uses_anonymous_args …

Member Avatar
Member Avatar
+0 forum 2

Intel is known for being…well, Intel. They have been making processors and the like for as long as anyone cares to remember and while they may be the current reigning champ in the desktop PC processors wars, the same cannot be said about the oh-so-popular “gadget” market. Intel is a house built on the foundation of x86 architecture and this has served them well for years, but with the boom of the mobile market (be it iPad, iPhone, etc) Intel’s reliance upon x86 architecture leaves them high and dry. ARM processors dominate the mobile market due in no small part …

Member Avatar
+1 forum 0

Hi all.. I am new to apache and i have some questions about it.. i cross compiled it on an hawkboard, which has ARM arch'. the main question is how to make apache use as minimal as possible, for example, when i use the 'top' command on the target i can see 6 process of httpd, and i want only 1! so how to minimize the sources use of apache to minimal (make it static)? :cool:

Member Avatar
Member Avatar
+0 forum 1

A couple of years ago, I thought I would never have seen an "Intel Inside" sticker on Apple hardware. Looking at the news today, I was surprised at the revelation that Intel Macintosh hardware can now run Win XP SP 2! Somebody please check if hell froze over. WOW. Go look for yourself: [url]http://www.apple.com/macosx/bootcamp/[/url] Apple has made it so easy! You need to make sure your firmware is up to date, some hard drive space, updated OS software, a blank recordable CD, and a legal copy of Windows XP. What is really the easy part of all of this is …

Member Avatar
Member Avatar
+0 forum 5

The End.