mirror of
https://github.com/pkimpel/retro-b5500.git
synced 2026-02-11 10:55:09 +00:00
23 lines
374 B
HTML
23 lines
374 B
HTML
<html>
|
|
<body>
|
|
<script>
|
|
var x;
|
|
var p=1;
|
|
|
|
document.write("pow2 = [0x1");
|
|
for (x=1; x<=52; x++) {
|
|
p += p;
|
|
document.write(", 0x" + p.toString(16));
|
|
}
|
|
document.writeln("]");
|
|
|
|
p = 1;
|
|
document.write("mask2 = [0x0");
|
|
for (x=1; x<=52; x++) {
|
|
p += p;
|
|
document.write(", 0x" + (p-1).toString(16));
|
|
}
|
|
document.writeln("]");
|
|
</script>
|
|
</body>
|
|
</html> |