Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-2007, 10:37 AM
-EquinoX- -EquinoX- is offline
Newbie
 
Join Date: Sep 2007
Posts: 1
Rep Power: 0
-EquinoX- is on a distinguished road
Default MIPS printing integer problem

Okay so say I have an array which is like this:

.data

values:
.half -17
.half 16
.half 153

and I want to print it as

-17
16
153


How do I do this?? If it is stored in a 4 byte of integer then it would be very easy to do, but not it's stored as a 2-byte integer.

In a 4 -byte integer I just quadruple starting from the first array address and then print the array, but how about this one?? Can someone help me??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
image button problem ikkeugh Visual Basic Programming 14 10-03-2007 04:55 PM
Urgent...plz help me.... Shap3r C and C++ 7 08-09-2007 11:59 AM
.NET problem with printing a barcode honzac32 C# Programming 3 07-10-2007 04:41 PM
Help with a problem? ZanyMike Visual Basic Programming 1 05-06-2007 02:46 AM
Help with SendMessage API MrNobody Visual Basic Programming 8 11-22-2006 01:01 PM


All times are GMT -5. The time now is 06:38 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads