Conversation Between Blah and Pheonix x
Showing Visitor Messages 16 to 30 of 34
-
February 12th, 2016 4:57 AMBlahThere is a tutorial for that in the tutorial section, by DrFuji.
-
February 11th, 2016 11:59 PMPheonix xCan help with changing battle backgrounds i dont know how change palletes for battle background i will be online at night
-
February 11th, 2016 10:28 AMPheonix xhey FBI i read through that tut of deigoisawesome and i understood it lol i now can do some scripting in xse.
-
February 10th, 2016 2:53 PMPheonix xit is askng nickname when i enter one its says connection failed
-
February 10th, 2016 2:46 PMBlahNo idea why that's happening to you :/
-
February 10th, 2016 2:29 PMPheonix xit is not connecting showing disconnected
-
February 10th, 2016 2:24 PMBlah
-
February 10th, 2016 2:22 PMBlahYeah, right here http://www.pokecommunity.com/showpost.php?p=8625298&postcount=10
C++ is similar to C in some ways :) -
February 10th, 2016 2:22 PMPheonix xas a note :- the instruction mentioned by me are from my microprocessor 8085 mnemonics or codes they do not belog to any tutorial in asm i just wanted to see if there is any relation between microprocessor asm and gba asm
-
February 10th, 2016 2:16 PMPheonix xsry i m new and quite excited and i have a lot of things to learn with lots of question
in asm how do u code ?
like for eg in microprocessor i had quetion like call the keyboard subroutine and calculate values (values given by user)
how will it be in asm
i have seen code but i dont understand what it does all i get to know is something is pushed in stack and poped from stack
can u explain a small asm code in like some question answer sort like the example i gave above thats the main thing i did not understand -
February 10th, 2016 2:03 PMPheonix xif u can link me then it will be a good idea there are too many tutorials u might know the best i have read touched mega huge asm one (theory ) sry no knowledge on c and a quite a good basic level knowledge in c++.
-
February 10th, 2016 1:58 PMBlahThe battle engine is in C, so you won't be able to help until you get much better with this ASM (sadly).
To answer your question, of the ones you've listed, these are shared:
push { list of registers}
pop { list of registers}
@ list of registers are in the form r0, r1, r2, ect. only the ones you want moved to the stack.
ldr
mov @highest immediate you can load to mov is #0xFF. You can move any register even R13, R14, R15.
add
sub
adr @ equivalent to your lda instruction, iirc
--------------
Additionally, for jumping:
beq - branch equal
bne - branch not equal
ble - branch less than or equal
bge - branch greater than or equal
bhi - branch greater than
blo - branch less than
The the common jumping ones. However, for calling, that is jumping with return there is the "bl" instruction. There are also the lsl and lsr instructions which are common. These are the bit shifting registers. I should've talked about these in my tutorial, are you sure you've read the correct one? :) -
February 10th, 2016 1:45 PMPheonix xif in any way i can help u with battle engine i will be honured to help and i will get a chance to learn asm.
-
February 10th, 2016 1:42 PMPheonix xsilly question but check if these commands exists
pop(stack)
push(stack)
ldr
lda
mov(many variantion with registers)
inx\inr
dcx\dcr
add
sub
jnz
jmp
jm
cmc
stc
these are the few of the common instruction i know would u tell are there any of the above instruction used in normal asm and would u link me too your tutorial new to the community. -
February 10th, 2016 1:36 PMBlahCool, so allow me to first clear something up for you. These "lsl", "ldr" symbols you see are actually ASM instructions. They each have a function which they do depending on the registers they're given.
I suggest you try to read simple existing ASM routines, and look up the instructions you don't know about. My second tutorial introduced commands which are commonly used in ASM code, you can look at those for reference.

