Talk:Multibyte constant

From NESdev Wiki
Revision as of 04:42, 30 June 2015 by Zzo38 (talk | contribs) (Reply to Rainwarrior)
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)

You are correct; perhaps it ought to be. I don't know if "programming techniques" page exists though; if not should it be made up? But, maybe a category might help. --Zzo38 (talk) 22:42, 29 June 2015 (MDT)