Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/29/07 18:34
Read: times


 
#141345 - assembly help, please.
hi, i'm new to the assembly world and the whole 8051/52 thing.
i was writing code but i can't get it to work fine without changing some predefined variables, and i seem to be helpless and need some outer hand to guide me.
i'll give an example that will explain my request:

org 000h
ljmp main
.
x1 equ "0"
x2 equ "0"
x3 equ "1"
.
main:
.
mov x1,"1"
.
message: db x1,x2,x3,0
.
.
end

i made that code up for better explanation, all i need are some variables i can manipulate while the program is running.

i hope it's feasible cause it'll make my life easier.

thanks for any help given.

List of 13 messages in thread
TopicAuthorDate
assembly help, please.            01/01/70 00:00      
   Confusion            01/01/70 00:00      
   use DB            01/01/70 00:00      
      i know            01/01/70 00:00      
         It is ASM            01/01/70 00:00      
         ram in 8051            01/01/70 00:00      
            SEG            01/01/70 00:00      
            query            01/01/70 00:00      
               Yes            01/01/70 00:00      
                  Protection??            01/01/70 00:00      
                     A bit unclear...            01/01/70 00:00      
                        tricky...            01/01/70 00:00      
                           Indeed...            01/01/70 00:00      

Back to Subject List