Talk:Multibyte constant

From NESdev Wiki
Jump to navigationJump to search

Here is the Unofficial-MagicKit version:

; Implementation of multibyte constants for Unofficial-MagicKit.
; This file is in the public domain.

	macro mbyt
	macset 2,4,\$1>1
	macgoto mbyt_\2
	endm

	macro mbyt_0
	endm

	macro mbyt_1
	macset 2,2,1
	macset 2,5,2
	db $\2
	mbyt_0 \>1
	macset 1,1,1
	mbyt_0 \>1
	macset 1,1,1
	macgoto mbyt
	endm

; Example:
;	mbyt 09F91102 9D74E35B D84156C5 635688C0

--Zzo38 (talk) 22:00, 28 June 2015 (MDT)

This article is an orphan

Maybe just put both versions on some sort of page like Multibyte constant code and find a place to link to them from. Is there a "programming techniques" page? - Rainwarrior (talk) 21:30, 29 June 2015 (MDT)