| |||||||
| 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.
__________________ Avatar and sig graphic by Pitch. Subscribers! Ask about a custom graphic or avatar today! Gizmo Thermal Diode Mod and Direct-Die Water Block 8-Cheetah 18GiB U-2 SCSI MegaRAID Enterprise 1500/128MiB Samsung SyncMaster 955DF TTGI/Superflower TTS-520 PSU ![]() ![]() ![]() |
| ||||
| 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 ATA_SEG, SS:STACK_SEG(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; 23rd September, 2004 at 09:37 PM. |
| ||||
| Quote:
__________________ It is by will alone I set my mind in motion... |
| ||||
| Quote:
![]() Try assembly on a sane architecture, like the 68k, or even Z80.
__________________ Avatar and sig graphic by Pitch. Subscribers! Ask about a custom graphic or avatar today! Gizmo Thermal Diode Mod and Direct-Die Water Block 8-Cheetah 18GiB U-2 SCSI MegaRAID Enterprise 1500/128MiB Samsung SyncMaster 955DF TTGI/Superflower TTS-520 PSU ![]() ![]() ![]() |
| ||||
| 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 will 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... |
| ||||
| Quote:
__________________ Asus P4P800 (Wireless) P4 2.8C Ghz Radeon 9600XT (256Mb) 1 Gig GEIL 4000 (2x512Mb) WD (2x250 + 2x400) Gb = 1.3 Tb Lite-On 52.32.52 CD-RW (LTR-52327S QS0E5A) Lite-On 12.04.12 DVD-RW (SOHW-1213S TS0D) ThermaltakeX 480W Silent Purepower Generic Full Tower Case (Unmodded) 2x19in Dell LCDs |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why program in Assembly!? | Garfield | Programming and Assembly Language | 59 | 13th April, 2007 09:06 AM |
| Oh God! I'm in big trouble! | mookydooky | Mookydooky's Just for laughs! | 0 | 13th August, 2002 08:25 PM |
| The Assembly Language | Garfield | Random Nonsense! | 16 | 7th August, 2002 03:24 PM |
| Assembly Programmers | Garfield | Programming and Assembly Language | 13 | 28th June, 2002 08:37 PM |