;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*- .scope pixel_test .include "pixel.inc" LDA #$50 STA X_pos LDA #$50 STA Y_pos test_x: NOP NOP NOP NOP DEY BNE test_x DEX BNE test_x jsr pixel_draw LDX #$20 LDY #$ff DEC X_pos BNE test_x end_test_x: LDA #$50 STA X_pos LDA #$50 STA Y_pos test_y: NOP NOP NOP NOP DEY BNE test_y DEX BNE test_y jsr pixel_draw LDX #$20 LDY #$ff DEC Y_pos BNE test_y end_test_y: .endscope