corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Assembly Language...


New Topic

New Poll
  <<  1    2  >> Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Assembly Language...
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
6th Nov 03 at 17:33   View User's Profile U2U Member Reply With Quote

any give me a hand write some code (cd tasm used?)

i have to have 3 letters put in at a time to show

ABC then a tab space then A space B space c
then the same for
DEF
GHI

if ya can help cheers!

[Edited on 06-11-2003 by Jason]
luca2020
Member

Registered: 26th May 02
Location: Maidstone, Kent
User status: Offline
6th Nov 03 at 17:38   View User's Profile U2U Member Reply With Quote

lol ive just started doing this, but i think mines different to that

anyway im usless at it, is there not any pc forums u can ask, i dout very many people on here will know how to write assembly language
Kerry
Member

Registered: 5th Oct 01
Location: Norwich
User status: Offline
6th Nov 03 at 17:47   View User's Profile U2U Member Reply With Quote

A B C
E F G

is that it
kerzo
Member

Registered: 10th Nov 02
Location: Norn Iron
User status: Offline
6th Nov 03 at 17:47   View User's Profile U2U Member Reply With Quote

grr i have a test tomorrow in c programming and i am not confident!! at least he wont have minus marks
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
6th Nov 03 at 17:50   View User's Profile U2U Member Reply With Quote

its a bloody coont and iv got a test 2moz on it and iv had a sneek peek at the question this is it....

between that and java!
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
6th Nov 03 at 17:53   View User's Profile U2U Member Reply With Quote

what it shud look like

ABC A B C
DEF D E F
GHI G H I


why the fook wont it show the true spacing im putting in??



[Edited on 06-11-2003 by Jason]

[Edited on 06-11-2003 by Jason]
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
6th Nov 03 at 17:59   View User's Profile U2U Member Reply With Quote

does any1 know any good programming or IT sites that have online geeks 24.7?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
6th Nov 03 at 18:18   View Garage View User's Profile U2U Member Reply With Quote

The font isn't designed to do so Jason.
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
6th Nov 03 at 18:30   View User's Profile U2U Member Reply With Quote

PLEASE MOVE ME TO OFFDAY!!!!!!
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
6th Nov 03 at 18:39   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
The font isn't designed to do so Jason.
ah rite...

any good at assembly then Ian??
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:28   View User's Profile U2U Member Reply With Quote

ttt
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
7th Nov 03 at 00:32   View User's Profile U2U Member Reply With Quote

so you want the display to be something like this??

.... = TAB CHR
. = SPACE

ABC....A.B.C
DEF....D.E.F
GHI....G.H.I

or all on one line? Why do a tab chr when you can just write the charector to XY location?

[Edited on 07-11-2003 by PaulW]
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
7th Nov 03 at 00:34   View User's Profile U2U Member Reply With Quote

Ah good old Assembler... thats a absolute bitch ...

Kerzo m8, C / C++ is a doddle compared to assembler...

all int 21h 's and mov al,45 trash...

hmm, don't really get what you need to do? would be a piece of pish in C++ but assembler is a hoe...

So you have set the constant variables A,B,C yeh?

just create another one called 'Spacer1' and 'Spacer2'

set the value of spacer1 to your tab sized space - i.e. '<------->' and set spacer2 to your single space so its " "

then just output it 1 by one

so output A, output B, output C, then output spacer1, then output A, then output spacer2, then output B, then output spacer2, then output C - then do new line...

just where I say 'output' put in all the code to do that (which I can't remember off the top of my head since that was ages ago)

Paul J

Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:46   View User's Profile U2U Member Reply With Quote

what it has 2 look like is

ABC.......A B C
DEF ...... D E F
GHI......G H I

dont ask why i have to tab its jus 2 make sure i understand how 2 use the ascci key ting
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
7th Nov 03 at 00:52   View User's Profile U2U Member Reply With Quote

ok then do what I said above but replace the output 'spacer1' to tab ascci key...

whats the problem? I feel I'm missing something?
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:54   View User's Profile U2U Member Reply With Quote

all them ah's and different registers frys my head!
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
7th Nov 03 at 00:57   View User's Profile U2U Member Reply With Quote

hang on ill see if i can figure anything out

what platform is it for?
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:57   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Paul_J

whats the problem? I feel I'm missing something?


what ya mean m8??


he only gave us a glimse... a teaser of 2moz's question i jus remembered what i cud!

lol basically asking for 3 inputs at a time then new line and repeat
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:58   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by PaulW
hang on ill see if i can figure anything out

what platform is it for?
lol platform??

i dunt have a clue im new to this!

all i do is enter

cd tasm

tasm edit myattempt.asm etc etc

PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
7th Nov 03 at 00:59   View User's Profile U2U Member Reply With Quote

ok then lets get this right....

the values A....I are all pre-defined, so you type nothing, you just want code which outputs what its supposed to, nothing else, so therefor no user input at all?
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 00:59   View User's Profile U2U Member Reply With Quote

in the dos window btw
Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 01:00   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by PaulW
ok then lets get this right....

the values A....I are all pre-defined, so you type nothing, you just want code which outputs what its supposed to, nothing else, so therefor no user input at all?
no there is user input..

i have to enter "A,B,C" and it has to show that with echo's etc

sorry if im confusion ya infact im confusion my self i'll be able 2 show it 2moz when handed it.. can use all my resources and the net
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
7th Nov 03 at 01:02   View User's Profile U2U Member Reply With Quote

wtf?

firstly your saying you just need to write things on screen as

ABC.....A.B.C

now your saying you need to input A, B and C?

Dude I can't help you if you don't even tell me what you actually have to do?

Tbh though I need sleep...

Jason
Member

Registered: 5th Aug 03
Location: Northern Ireland
User status: Offline
7th Nov 03 at 01:03   View User's Profile U2U Member Reply With Quote



i shuda said i need the user to input ABC and it to come up on screen as the following sorry

i need sleep too...

have a read here 2moz i'll have the question on here for ya

thanks tho alot... be lost without one's like urself
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
7th Nov 03 at 01:07   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Jason
no there is user input..

i have to enter "A,B,C" and it has to show that with echo's etc




thats the thing - what you said there probably isn't true either?

Are you entering as you said "A,B,C"

so say it was a shopping list, A = egg, B = toast and C = jam

you'd enter egg, toast, jam

and then it'd display egg toast jam without the commas? thus writing code to realise there's a comma there and seperating each thing into a seperate variable to be outputted later?

or are you supposed to do this... (which I think you probably are but are describing it pretty shit?)

it comes up >

you enter egg press enter

you enter toast and press enter

you enter jam and press enter

it saves all 3 as A,B,C then outputs em again with a space between?

thus you should of said you had to enter "A","B","C"

ffs. just look at your previous coding and copy + paste things for the appropriate actions, without any of my old code infront of me I can't remember what it is exactly you have to write

Assembler is ghey!

Paul J

  <<  1    2  >>
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
assembly again... Jason General Chat 0 965
21st Nov 03 at 11:03
by Jason
 
Bloody Programming Jamie General Chat 23 1256
4th Oct 04 at 14:42
by x8john
 
Steering wheel and airbag assembly for 99 sport JonnyRebel Wanted 2 1083
10th Oct 05 at 22:10
by v5uk
 
Converting webpage language 1.6Sport Geek Day 2 990
26th Jul 06 at 20:44
by Sam
 
ASP.NET vs. PHP - your thoughts Planty02 Geek Day 8 2000
26th Oct 06 at 15:47
by ed
 

Corsa Sport » Message Board » Off Day » Geek Day » Assembly Language... 28 database queries in 0.0192971 seconds