Talk:Multibyte constant: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Reply to Rainwarrior)
Line 31: Line 31:


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? - [[User:Rainwarrior|Rainwarrior]] ([[User talk:Rainwarrior|talk]]) 21:30, 29 June 2015 (MDT)
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? - [[User:Rainwarrior|Rainwarrior]] ([[User talk: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. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 22:42, 29 June 2015 (MDT)

Revision as of 04:42, 30 June 2015

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)