Users browsing this thread: 1 Guest(s)
How to Paste Code and Other Posting Best Practices

#3
Posts: 61
Threads: 18
Thanks Received: 1
Thanks Given: 47
Joined: May 2014
Status
None
Thanks, I think I got it, purely because of your input.  I had to adjust it in notepad to look how I thought it should, Tab-to-Space, then Space-to-Tab, then adjust it again, then Tab-to-Space again:
  
Code:
Initial Pasting here:
-----------------
OpCode        X    B    A            
C2 20    REP #20            16b    
B9    F4 3B    LDA, Y $3BF4                LDA, Y    HP
4A    LSR    Divide by 2
4A    LSR    4
4A    LSR    8
4A    LSR    16


Tab to space
------------------------
OpCode                                        X            B            A            
C2 20        REP #20                                                        16b    
B9                F4 3B    LDA, Y $3BF4                                        LDA, Y    HP
4A            LSR    Divide by 2
4A            LSR    4
4A            LSR    8
4A            LSR    16

Then Space to Tab
----------------------
OpCode                                        X            B            A            
C2 20        REP #20                                                        16b    
B9                F4 3B    LDA, Y $3BF4                                        LDA, Y    HP
4A            LSR    Divide by 2
4A            LSR    4
4A            LSR    8
4A            LSR    16

On Notepad++, it looks like there's just one row that's uneven,
so fix that row then Tab to Space again.
It looks uneven in Notepad++ but now it works!
-----------------------
OpCode                                      X           B           A           
C2 20       REP #20                                                     16b 
B9          F4 3B   LDA, Y $3BF4                                        LDA, Y  HP
4A          LSR Divide by 2
4A          LSR 4
4A          LSR 8
4A          LSR 16
  Find
Quote  



Messages In This Thread
RE: How to Paste Code and Other Posting Best Practices - by ReturnerScum - 08-04-2018, 08:18 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite