|
Programming and Assembly Language Please read this Topic's rules!! |
![]() |
| LinkBack | Thread Tools | Rate Thread |
| ||||
It's been about 9 years since I've done assembly, sorry I can't be more help. I'm sure one of our guru's will chime in soon enough. Rob
__________________ Taking each day as it comes Grow, learn and OVERCLOCK. Need help?? Ask me. Your Mommy!! (Aug/02) Welcome to the fold. Buy it, Sell it, or Trade it in the AoA classifieds!! ![]() |
| ||||
I believe your problem is that you are trying to print the string pointed at by MESSAGE, but that string is not terminated by the '$' symbol. As a consequence, your subsequent calls to int 21 don't do anything useful. But that is just a guess. It's been quite some time since I messed with x86 assembly. |
| ||||
I can see the problem... You seem to have overlooked a smilie in the listing on the line which begins: ASSUME CS:CODE_SEG, DS ![]() (Line 18 from the top of the listing) The compiler will attempt to take this code & will give erratic output due to the smilie... (yes I know... I'll get me coat...) On a serious note - if you are working on a self developed algorithm after working on it for considerable amounts of time you being to see not what it actually is... I used to pass my listings to someone else who had a nack for seeing the 'obvious mistake' that was just not eviendent to myself... I believe it is because when you are concerning yourself with bringing to existance the machanics of the algorithm you cannot read it literally - which is the mode of reading that will bring to your attention the 'typos' or logical errors to you.
__________________ Searched near & far across networked lands for a sig. that would do. I searched thorough, & wide, for a signature just right, I explored far & wide, blocked by lulling tide, all I found was you. Needless to impart, I want my money back... Last edited by DimViesel; 24th September, 2004 at 03:37 AM. |
| ||||
Quote:
__________________ It is by coffee alone I set my mind in motion... |
| ||||
Quote:
![]() Try assembly on a sane architecture, like the 68k, or even Z80. ![]() |
| ||||
Yeah 68k - that is the way to go, or Zilogs are pretty neat too ![]() I don't even have to go with an emulator if I do not wish to - my grandmother has a brand new unopened Z80 based machine & I have 4 Amiga machines: 68000, 68020 & 68030 CPUs respectively. All OC'd of course ![]() (Not.)
__________________ Searched near & far across networked lands for a sig. that would do. I searched thorough, & wide, for a signature just right, I explored far & wide, blocked by lulling tide, all I found was you. Needless to impart, I want my money back... |
| ||||
Yeah well unfortunately I don't have a monitor capable of handling the range of screen modes my '030 accelerated A1200 can produce. I think I left it last using the VGA screenmode so that a normal PC monitor can handle it. Since the most reliable machines I have are x86-based (sad but true) and the limits of my prior knowledge are Intel 8bit controllers, the x86 is the easiest logical progression. Unless I want to learn the pseudo-assembly required for a Core War ![]()
__________________ It is by coffee alone I set my mind in motion... |
| ||||
Heh I'm sure you will miss the raw power of your 25MHz '030 A1200. ![]() What really brought home how obsolete the hardware performance of these machines is, was when I looked at my £20 cable router & saw that it ran @ 40MHz (Amiga 68040 anyone?) & had 4MB of RAM (double that of the std. A1200). If we want to exorcise any remainingCBM nostalgia I propose it should have a thread of its own.
__________________ Searched near & far across networked lands for a sig. that would do. I searched thorough, & wide, for a signature just right, I explored far & wide, blocked by lulling tide, all I found was you. Needless to impart, I want my money back... |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Rate This Thread | |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why program in Assembly!? | Garfield | Programming and Assembly Language | 61 | 4th October, 2012 11:55 AM |
Oh God! I'm in big trouble! | mookydooky | Mookydooky's Just for laughs! | 0 | 14th August, 2002 02:25 AM |
The Assembly Language | Garfield | Random Nonsense! | 16 | 7th August, 2002 09:24 PM |
Assembly Programmers | Garfield | Programming and Assembly Language | 13 | 29th June, 2002 02:37 AM |