Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-20-2013, 05:46 PM #1
- Join Date
- Mar 2012
- Thanked 11 Times in 11 Posts
Assembly language anyone? (with comments)
I've got two small, similar questions. Would the following segments of code store 100 into memory location 1000? Or anything even close/similar to that? Just wondering if my logic makes sense.. (two separate segments)
LDA =100 ;ACC<- 100 STA* LOCATION ;Mem[LOCATION] <- ACC HLT LOCATION BSC 1000 ;LOCATION <- 1000
LDX =100, 1 ;IR 1 <- 100 STX* LOCATION, 1 ;Mem[LOCATION] <- IR 1 HLT LOCATION BSC 1000 ;LOCATION <- 1000
Also, would 16 bits in both MAR and MBR give 64k, 16 bit memory locations?
PS: Look at the pretty spacing (oooo, aweeeee)! I tried really hard
Last edited by KULP; 03-20-2013 at 06:02 PM.