Lost Password?

Go Back   CodeCall Programming Forum > Software Development > General Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

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, 09:37 AM
-EquinoX- -EquinoX- is offline
Newbie
 
Join Date: Sep 2007
Posts: 1
Credits: 0
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

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


All times are GMT -5. The time now is 10:43 AM.

Contest Stats

Xav ........ 1323.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 834.24
Brandon W ........ 749.07
chili5 ........ 310.39
Steve.L ........ 241.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads