text
stringlengths
1
1.05M
.global Block .global Tree .global Box .global Boxspot .global Player .global ErasePlayer ; Print Box Function Box: li $v0, 29 ; --> call rlutil::setBackgroundColor() li $a0, 6 syscall li $v0, 28 ; --> call rlutil::setColor() li $a0, 0 syscall li $t1, 0 ;--> i for_box: slti $t0, $t1, 3...
global start section .text bits 32 start: mov word [0xb8000], 0x0248 ; H mov word [0xb8002], 0x0265 ; e mov word [0xb8004], 0x026c ; l mov word [0xb8006], 0x026c ; l mov word [0xb8008], 0x026f ; o mov word [0xb800a], 0x022c ; , mov word [0xb800c], 0x0220 ; mov word [0xb800e], 0x0277 ; w mov word [0xb...
/* * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "licen...
<% from pwnlib.shellcraft import amd64 %> <%page args="pid, signal='SIGKILL'"/> <%docstring>Writes a string to a file descriptor</%docstring> ${amd64.linux.syscall('SYS_kill', pid, signal)}
;=============================================================================== ; Copyright 2015-2019 Intel Corporation ; All Rights Reserved. ; ; If this software was obtained under the Intel Simplified Software License, ; the following terms apply: ; ; The source code, information and material ("Material") co...
bipush 20 istore j bipush 5 istore k bipush 0 istore q loop iload j iload k isub istore aux iload q bipush 1 iadd istore q iload aux ifeq l1 iload aux istore j goto loop l1 iload q
*PROCESS DUPALIAS * * Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07 * on Fri Apr 30 15:35:51 2021 * WXTRN @@ZARCH# * * * * Code Section * @CODE ALIAS X'7CD9C4D2C1C6D2C16DD7C1D9E3C9E3C9D6D5' @CODE CSECT @CODE AMODE ANY @CODE RMODE ANY @DATA ALIAS X'7C998492818692816D978199A3...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; ssdt asm stub for 6.2.9200-sp0-windows-8 i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtWorkerFactoryWorkerReady( ULONG arg_01 ); _6_2_9200_sp0_windows_8_...
EMPTYTRD "emptytrd.trd"
; ; SimpleShell ; ; Super Simple Shell-like Monitor ; All it does for now is print ; the header data and then echo ; user input after pressing enter ; ; This will change as I go, especially when I add ROM ; Future Memory Map ; ROM - 0000H - 7FFF ; RAM - 8000H - $FFFF ; ; Input buffer - 3FFF - 401F ; 32 byte...
; A086936: Number of primes between n and p(n) inclusive. ; 1,2,2,2,3,3,4,4,5,6,7,7,8,8,9,10,11,11,12,12,13,14,15,15,16,17,18,19,20,20,21,21,22,23,24,25,26,26,27,28,29,29,30,30,31,32,33,33,34,35,36,37,38,38,39,40,41,42,43,43,44,44,45,46,47,48,49,49,50,51,52,52,53,53 mov $1,$0 trn $1,1 seq $1,720 ; pi(n), the number of...
;******************************************************************* ; Main.asm ; PE 文件操作演示的主程序,提供对话框界面和文件打开功能 ;******************************************************************* option casemap:none option win64:7 option frame:auto ;******************************************************************* ; Include ...
; A304166: a(n) = 972*n^2 - 1224*n + 414 with n > 0. ; 162,1854,5490,11070,18594,28062,39474,52830,68130,85374,104562,125694,148770,173790,200754,229662,260514,293310,328050,364734,403362,443934,486450,530910,577314,625662,675954,728190,782370,838494,896562,956574,1018530,1082430,1148274,1216062,1285794,1357470,1431090...
; A043657: Numbers n such that base 13 representation has exactly 2 runs. ; 13,15,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77 add $0,12 mov $1,12 add $1,$0 div $0,13 add $1,$0 sub $1,11
; This example upon each reset increases the 8-bit counter stored in EEPROM ; and then presents the bits of this value on the pins of port A. include "avr.inc" include "..\8051\hex.inc" include "m16def.inc" .org 0 rjmp start start: ldi r16,RAMEND and $ff out spl,r16 ldi r16,RAMEND shr 8 out sph,r16 ldi r16,...
title llrem - signed long remainder routine ;*** ;llrem.asm - signed long remainder routine ; ; Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; defines the signed long remainder routine ; __allrem ; ;Revision History: ; 11-29-83 DFW initial version ; 06-01-84 RN mod...
/*========================================================================= Program: Visualization Toolkit Module: vtkPointConnectivityFilter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Thi...
/** * regex.hpp * * Copyright (c) 2018-2019 Peter Lenkefi * Distributed under the MIT License. * * Functionality to turn a compile-time RegEx string into a parser. Can be used * for efficient tokenization. */ #ifndef CPPCMB_PARSERS_REGEX_HPP #define CPPCMB_PARSERS_REGEX_HPP #include <cstddef> #include <string...
; =============================================================== ; May 2017 ; =============================================================== ; ; void *tshr_py2saddr(uchar y) ; ; Screen address of byte containing pixel at coordinate x = 0, y. ; ; =============================================================== SECTION...
aLine 0 gBne Root, null, 3 aLine 1 Halt aLine 3 nNew headNode, -1 aLine 4 nMoveRelOut headNode, Root, 150 pSetNext headNode, Root aLine 5 pSetNext Rear, headNode aLine 6 gMove Root, headNode aStd aLine 7 gNew basePtr gMoveNext basePtr, Root gNewVPtr minNext gNewVPtr rootNext gMoveNext rootNext, Root aLine 8 gNew...
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <yang/adaptor.h> #in...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h" #include "apps/app_window.h" #include "apps/ap...
; A028429: Clog sequence in base 8. Right to left concatenation of n, int(log_8(n)),int(log_8(int(log_8(n)))),... in base8. ; 1,2,3,4,5,6,7,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,...
;* * * * * Small-C/Plus z88dk * * * * * ; Version: 16894-223f580fd-20200818 ; ; Reconstructed for z80 Module Assembler ; ; Module compile time: Fri Sep 25 14:55:23 2020 C_LINE 0,"exp2f16.c" MODULE exp2f16_c INCLUDE "z80_crt0.hdr" C_LINE 0,"math16.h" C_LINE 0,"/home/phillip/Z80/z88dk/lib/config/../..//incl...
#pragma once #include <Arduino.h> class LogStream { public: LogStream(Print &destination); Print & operator()(); void SetLogStreamTelnet(); void SetLogStreamSerial(); private: Print *destination; void SetLogStream(Print & _destination); }; extern LogStream logStream; // external reference for the global, sing...
; float scalbn(float x, int n) __z88dk_callee SECTION code_fp_math48 PUBLIC cm48_sdcciy_scalbn_callee, l0_cm48_sdcciy_scalbn_callee EXTERN cm48_sdcciyp_d2m48, am48_scalbn, cm48_sdcciyp_m482d cm48_sdcciy_scalbn_callee: pop af pop de pop hl ; hlde = float x exx pop hl...
/*========================================================================= Program: Visualization Toolkit Module: TestOpacity.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is d...
; A164552: a(n) = 12*a(n-1)-30*a(n-2) for n > 1; a(0) = 1, a(1) = 10. ; Submitted by Jon Maiga ; 1,10,90,780,6660,56520,478440,4045680,34194960,288969120,2441780640,20632294080,174334109760,1473040494720,12446462643840,105166336884480,888602163298560,7508235853048320,63440765337623040,536042108460026880 mov $1,1 mov $...
; ------------------------------------------ ; Test ADI and SUI. ; Add immediate number to register A. ; Subtract immediate number from register A. ...
; A193433: Sum of the divisors of n^2+1. ; 1,3,6,18,18,42,38,93,84,126,102,186,180,324,198,342,258,540,434,546,402,756,588,972,578,942,678,1332,948,1266,972,1596,1302,1980,1260,1842,1298,2484,1842,2286,1602,2613,2124,3534,2100,3042,2220,4536,2772,3606,2604,3906,3252,5076,2918,4860,3138,6552,4044,5226,3892,5586,4620,716...
; A173044: Product plus sum of five consecutive nonnegative numbers. ; 10,135,740,2545,6750,15155,30280,55485,95090,154495,240300,360425,524230,742635,1028240,1395445,1860570,2441975,3160180,4037985,5100590,6375715,7893720,9687725,11793730,14250735,17100860,20389465,24165270,28480475,33390880,38956005,45239210,52307815...
; A089644: Numbers n such that 7 divides the numerator of B(2n) where B(2n) = the 2n-th Bernoulli number. ; 7,14,28,35,49,56,70,77,91,98,112,119,133,140,154,161,175,182,196,203,217,224,238,245,259,266,280,287,301,308,322,329,343,350,364,371,385,392,406,413,427,434,448,455,469,476,490,497,511,518,532,539,553,560 mul $0...
.data num: .word 4 .text .globl main main: lw $t0, num add $s0, $0, $t0 # $s0 = 0 + num = num addi $s1, $0, 1 # $s1 = 0 + 1 = 1 sll $s1, $s1, 2 # $s1 = 1 << 2 = 4 beq $s0, $s1, target # $s0 = = $s1, so branch is taken addi $s1, $s1, 1 # not executed sub $s1, $s1, $s0 # not executed target:...
; A157757: a(n) = 2809*n^2 - 4618*n + 1898. ; 89,3898,13325,28370,49033,75314,107213,144730,187865,236618,290989,350978,416585,487810,564653,647114,735193,828890,928205,1033138,1143689,1259858,1381645,1509050,1642073,1780714,1924973,2074850,2230345,2391458,2558189,2730538,2908505,3092090,3281293,3476114,3676553,3882610...
.module autovec ; Exports .globl _isr_USB .globl _isr_GPIF_IE4 ; Imports .globl _isr_SUDAV .globl _isr_SOF .globl _isr_SUTOK .globl _isr_SUSPEND .globl _isr_USBRESET .globl _isr_HISPEED .globl _isr_EP0ACK .globl _isr_EP0IN .globl _isr_EP0OUT .globl _isr_EP1IN .globl _isr_EP1...
db "PIG MONKEY@" ; species name db "It will beat up" next "anyone who makes" next "it mad, even if it" page "has to chase them" next "until the end of" next "the world.@"
INCLUDE \masm32\include\masm32rt.inc ; for using inkey INCLUDE \masm32\include\Irvine32.inc INCLUDELIB \masm32\lib\Irvine32.lib .486 .model flat, stdcall .STACK 1000h ExitProcess PROTO, DwErrorCode:DWORD WriteHex PROTO Crlf PROTO .DATA A DWORD 1 B DWORD 2 C_ DWORD 3 D DWORD 4 .CODE Start...
;@DOES move a file into RAM ;@INPUT IX = file handle pointer ;@OUTPUT Z flag set if success ;@OUTPUT C flag set if malloc failed ;@DESTROYS All ;@NOTE file handle pointer returned from sys_GetFileHandlePtr ;@NOTE IY is set to the file's VAT pointer ;@NOTE does nothing if the file is already in RAM fs_MoveFileToRAM: bi...
// Original test: ./eharris/hw4/problem6/jalr_1.asm // Author: eharris // Test source code follows //Test immediate offset lbi r3, 0x03 jal 0 //Just sets the PC of the next instruction to R7 jalr r7, 2 lbi r3, 0x04 halt //If all goes well this executes linearly r7 = addr(lbi r3, 0x04) // r3 = 4
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c1a6, %r15 lfence mov $0x6162636465666768, %r12 movq %r12, %xmm6 vmovups %ymm6, (%r15) nop sub %r14, %r14 lea addresses_D_ht+0x2626, %rsi lea addresses_normal_ht+0xe5a6, %rdi nop nop...
//***************************************************************************** // Copyright (c) 2016-2020, Intel Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // - Redistributio...
; KLC3: INPUT_FILE .ORIG x4000 INPUT_DATA .BLKW #1 ; KLC3: SYMBOLIC as NUM .END
bits 64 default rel section .text global pal_execute_sgdt pal_execute_sgdt : sgdt [rdi] ret
title "System Startup" ;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt). ; If you do not agree to the terms, do not use the code. ; ; ; Module Name: ; ; s...
dnl HP-PA mpn_add_n -- Add two limb vectors of the same length > 0 and store dnl sum in a third limb vector. dnl Copyright 1992, 1994, 2000, 2001, 2002 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl ...
#include <iostream> #include <thread> #include <mutex> #include <condition_variable> #include <deque> #include <queue> #include <functional> typedef struct MutexCondition{ std::mutex mt; std::condition_variable cv; }MutexCondition; typedef std::shared_ptr<std::thread> thread...
#include "vr/video/ffmpeg/rtsp_reader.h" namespace vr { bool rtsp_reader::connect(const std::string url) { this->_rtsp_ctx = this->create_rtsp_context(url); if(!this->_rtsp_ctx) { return false; } this->_video_idx = this->get_video_index(); if(this->_video_idx == -1) { return false; } return true; } ...
.include "defaults_mod.asm" table_file_jp equ "exe6-utf8.tbl" table_file_en equ "bn6-utf8.tbl" game_code_len equ 3 game_code equ 0x4252354A // BR5J game_code_2 equ 0x42523545 // BR5E game_code_3 equ 0x42523550 // BR5P card_type equ 1 card_id equ 83 card_no equ "083" card_sub equ "Mod Card 083" card_sub_x ...
; Autor: ; Brown Ramírez, Belinda ; timna.brown@ucr.ac.cr ; Jan, 2021 ; 2 routines ;BIN-BCD: 12 bits binary using XS3 algorithm, binary number is in D ;and results goes to NUM_BCD from $1010 mem position ;BCD-BIN: Multiplication of decades and addition algorithm, ;BCD >= 9999 binary number is in D. ...
; ================================================================== ; MikeOS -- The Mike Operating System kernel ; Copyright (C) 2006 - 2014 MikeOS Developers -- see doc/LICENSE.TXT ; ; MISCELLANEOUS ROUTINES ; ================================================================== ; -------------------------------...
#include <bos.pegtoken/bos.pegtoken.hpp> // #include "../include/bos.pegtoken.hpp" #include <eosiolib/transaction.hpp> #include <eosiolib/action.hpp> #include "bos.pegtoken_v1.cpp" #include "bos.pegtoken_v2.cpp" namespace eosio { //////////////////////// // actions //////////////////////// void pegtoken::create...
; A033488: a(n) = n*(n+1)*(n+2)*(n+3)/6. ; 0,4,20,60,140,280,504,840,1320,1980,2860,4004,5460,7280,9520,12240,15504,19380,23940,29260,35420,42504,50600,59800,70200,81900,95004,109620,125860,143840,163680,185504,209440,235620,264180,295260,329004,365560,405080,447720,493640,543004,595980,652740,713460,778320,847504,9212...
; A330983: Alternatively add and multiply pairs of the nonnegative integers. ; 1,6,9,42,17,110,25,210,33,342,41,506,49,702,57,930,65,1190,73,1482,81,1806,89,2162,97,2550,105,2970,113,3422,121,3906,129,4422,137,4970,145,5550,153,6162,161,6806,169,7482,177,8190,185,8930,193,9702,201,10506,209,11342,217,12210,225,13110,23...
; A168286: a(n) = (6*n + 3*(-1)^n + 1)/2. ; 2,8,8,14,14,20,20,26,26,32,32,38,38,44,44,50,50,56,56,62,62,68,68,74,74,80,80,86,86,92,92,98,98,104,104,110,110,116,116,122,122,128,128,134,134,140,140,146,146,152,152,158,158,164,164,170,170,176,176,182,182,188,188,194,194,200,200,206,206,212,212,218,218,224,224,230,230,236,...
INCLUDE Irvine32.inc .data start=$ BYTE 0, 0, 0 arr1 DWORD 1, 2, 3 arr2 DWORD 0AABBCCDDh, 0FFEEDDCCh BYTE 0, 0, 0 .code main PROC COMMENT! ; Displays the last element of arr1: 00000003 mov esi, OFFSET arr1 mov ecx, LENGTHOF arr1 call lastElement call WriteHex call Crlf ;Displays the last element of arr2: F...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
; A000750: Expansion of bracket function. ; Submitted by Christian Krause ; 1,-5,15,-35,70,-125,200,-275,275,0,-1000,3625,-9500,21250,-42500,76875,-124375,171875,-171875,0,621875,-2250000,5890625,-13171875,26343750,-47656250,77109375,-106562500,106562500,0,-385546875,1394921875,-3651953125,8166015625,-16332031250,29544...
.model tiny .data A db 1,-2,-3,-4,-5,-6,7,-8,9,-10 .code N: push cs pop ds xor ax,ax xor bx,bx mov cx,10 M: cmp A[bx],0 jl K inc ax K: inc bx loop M mov ax,4c00h int 21h end N
.size 8000 .text@100 jp lbegin .data@143 80 .text@150 lbegin: xor a, a ldff(26), a ld a, 80 ldff(26), a ld a, 77 ldff(24), a ld a, 11 ldff(25), a ld a, c0 ldff(11), a ld a, 80 ldff(12), a ld a, c0 ldff(13), a ld a, 87 ldff(14), a ld b, 71 lwaitpos: dec b jrnz lwaitpos ld a, 80 lmodulate: xor a...
MODULE ansi_cls PUBLIC ansi_cls defc DISPLAY = 0x4000 EXTERN __vg5k_attr EXTERN CONSOLE_ROWS EXTERN CONSOLE_COLUMNS ansi_cls: ld a,(__vg5k_attr) ld c,CONSOLE_ROWS ld hl, DISPLAY cls0: ld (hl),0x00 inc hl or 128 ld (hl),a in...
////////////////////////////////////////////////////////////////////////////// // nv_sprite_raw_macs.asm // Copyright(c) 2021 Neal Smith. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // contains macros for sprites at the HW level //...
// ******************************************************************************************************************************* // ******************************************************************************************************************************* // // Name: sys_processor.cpp // Purpose: Processor Emu...
// Tests the simple bitmap plotter // Plots a few lines using the bresenham line algorithm /// @file /// Commodore 64 Registers and Constants /// @file /// The MOS 6526 Complex Interface Adapter (CIA) /// /// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf // Commodore 64 PRG executable file .file [name...
; Original address was $A9CD ; Empty/unused 2 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_16 | LEVEL1_YSTART_040 .byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE .byte LEVEL4_BGBANK_INDEX(3) | LEVEL4_INITACT_...
/* * * Copyright (c) 2003 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. ...
BITS 32 SEGMENT .text _s: xchg ebp, eax inc eax push edx add [eax], dl mov edi, edi push eax push edx add [eax], dl pop eax push edx add [eax], dl push dword 0x7c100052 push edx add [eax], dl mov eax, [ebp+0x8] pop esi pop edi leave ret
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x3ff0, %rsi inc %r11 mov $0x6162636465666768, %rdx movq %rdx, %xmm0 vmovups %ymm0, (%rsi) nop nop cmp $9604, %r12 lea addresses_UC_ht+0x9130, %rdi nop add %rax, %rax mov $0x61...
; A042525: Denominators of continued fraction convergents to sqrt(791). ; Submitted by Jon Maiga ; 1,8,449,3600,202049,1619992,90921601,728992800,40914518401,328045140008,18411442358849,147619584010800,8285108146963649,66428484759719992,3728280254691283201,29892670522289985600,1677717829502930476801,1345163530654573380...
#include "newimage_gui.h" NewImage_gui::NewImage_gui(mImage &newI, QWidget *parent) :QDialog(parent) { /*this dialog will get the input features of new image from user * and return a mImage struct */ this->newimage=&newI; initialization(); this->setLayout(gridlayout); this->setWindowTit...
; A060870: Number of n X n matrices over GF(5) with rank 1. ; 4,144,3844,97344,2439844,61027344,1525839844,38146777344,953673339844,23841853027344,596046423339844,14901161071777344,372529029235839844,9313225743103027344,232830643638610839844,5820766091270446777344,145519152283287048339844,3637978807089805603027344,9094...
; A228569: Binomial transform of A006497. ; 2,5,19,80,343,1475,6346,27305,117487,505520,2175139,9359135,40270258,173273885,745558651,3207971600,13803182047,59391995435,255550431034,1099576168865,4731229551223,20357419249520,87593407593931,376894780221095,1621693678323682 mov $1,1 mov $2,2 lpb $0 sub $0,1 add $1,$2...
; A196382: Number of sequences of n coin flips, that win on the last flip, if the sequence of flips ends with (1,1,0) or (1,0,1). ; 0,0,2,3,4,7,11,16,24,36,53,78,115,169,248,364,534,783,1148,1683,2467,3616,5300,7768,11385,16686,24455,35841,52528,76984,112826,165355,242340,355167,520523,762864,1118032,1638556,2401421,35...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Config -- Utils FILE: utilsManager.asm AUTHOR: Chris Boyke, October 26, 1992 REVISION HISTORY: Name Date Description ---- ---- ----------- ...
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <string> #include <vector> #include <QClipboard> Sign...
; A089026: a(n) = n if n is a prime, otherwise a(n) = 1. ; 1,2,3,1,5,1,7,1,1,1,11,1,13,1,1,1,17,1,19,1,1,1,23,1,1,1,1,1,29,1,31,1,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,1,1,1,1,53,1,1,1,1,1,59,1,61,1,1,1,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,1,1,83,1,1,1,1,1,89,1,1,1,1,1,1,1,97,1,1,1 mov $1,$0 seq $1,80339 ; Characteristic...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D94 move.l D1, (A1)+ 004D96 dbra D0, $4d94 018E56 tst.b ($11c,A6) 018E5A beq $18e6a 0AAACA move.l (A0), D2 0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p...
%ifdef CONFIG { "RegData": { "MM0": "0x4142434445464748", "MM1": "0x0041004300450047", "MM2": "0x0", "MM3": "0x4142434445464748", "MM4": "0x0041004300450047", "MM5": "0x0" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rd...
; program : program_2.asm ; date : OCT, 2020 ; written by : ENES MERCAN ; scenerio : Turning on the LEDs connected to RB0, RB1, RB2, RB3 ; purpose : using W register to transfer data ;---------------------------------------------------------------------- ; indicate what pic we're using to the complier ...
/* * Copyright 2016 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
; A167194: Triangle read by rows. A130713 in the columns. ; 1,2,1,1,2,1,0,1,2,1,0,0,1,2,1,0,0,0,1,2,1,0,0,0,0,1,2,1,0,0,0,0,0,1,2,1,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,0,0,1,2,1 add $0,1 lpb $0,1 sub $0,1 add $1,$0 trn $0,1 add $1,1 sub $1,$0 ...
; A176079: Triangle T(n,k) read by rows: If k divides n then k-1, otherwise -1. ; Submitted by Christian Krause ; 0,0,1,0,-1,2,0,1,-1,3,0,-1,-1,-1,4,0,1,2,-1,-1,5,0,-1,-1,-1,-1,-1,6,0,1,-1,3,-1,-1,-1,7,0,-1,2,-1,-1,-1,-1,-1,8,0,1,-1,-1,4,-1,-1,-1,-1,9,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,0,1,2,3,-1,5,-1,-1,-1,-1,-1,11,0,-1,...
; A145678: a(n) = 441*n^2 - 21. ; 420,1743,3948,7035,11004,15855,21588,28203,35700,44079,53340,63483,74508,86415,99204,112875,127428,142863,159180,176379,194460,213423,233268,253995,275604,298095,321468,345723,370860,396879,423780,451563,480228,509775,540204,571515,603708,636783,670740,705579,741300,777903,815388,85375...
; MMC1 configuration ; 43210 ; ----- ; CPRMM ; ||||| ; |||++- Mirroring (0: one-screen, lower bank; 1: one-screen, upper bank; ; ||| 2: vertical; 3: horizontal) ; ||+--- PRG swap range (0: switch 16 KB bank at $C000; 1: switch 16 KB bank at $8000; ; || only used when PR...
/* * ADC Utilities * * org: 7/22/2014 * auth: Nels "Chip" Pearson * * Usage: * .include adc_util.asm * * General: * R00 - R15 are protected registers. Restore if used. * R16 - R16 * R17 - R31 are transfer and local registers. NOT preserved. * * Resources; * adc_buff 2 bytes * * NOTE: PORTC shared...
// Copyright (c) 2018-2019 The SolD Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <evo/evodb.h> std::unique_ptr<CEvoDB> evoDb; CEvoDBScopedCommitter::CEvoDBScopedCommitter(CEvoDB &_evoDB) : evoDB...
; A053384: A053398(4, n). ; 2,2,2,2,3,3,3,3,2,2,2,2,4,4,4,4,2,2,2,2,3,3,3,3,2,2,2,2,5,5,5,5,2,2,2,2,3,3,3,3,2,2,2,2,4,4,4,4,2,2,2,2,3,3,3,3,2,2,2,2,6,6,6,6,2,2,2,2,3,3,3,3,2,2,2,2,4,4,4,4,2,2,2,2,3,3,3,3,2,2,2,2,5,5,5,5,2,2,2,2,3,3,3,3,2,2,2,2,4,4,4,4,2,2,2,2,3,3,3,3,2,2,2,2,7,7,7,7,2,2,2,2,3,3,3,3,2,2,2,2,4,4,4,4,2,2,...
; A005968: Sum of cubes of first n Fibonacci numbers. ; 0,1,2,10,37,162,674,2871,12132,51436,217811,922780,3908764,16558101,70140734,297121734,1258626537,5331629710,22585142414,95672204155,405273951280,1716768021816,7272346018247,30806152127640,130496954475672,552793970116297,2341672834801754 mov $4,$0 mov $7,$0 lpb $...
// ========================================================================== // // File : hwlib-stream-mux.hpp // Part of : C++ hwlib library for close-to-the-hardware OO programming // Copyright : wouter@voti.nl 2017-2019 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying fil...
INCLUDE "defines.asm" SECTION "Header", ROM0[$100] ; This is your ROM's entry point ; You have 4 bytes of code to do... something sub $11 ; This helps check if we're on CGB more efficiently jr EntryPoint ; Make sure to allocate some space for the header, so no important ; code gets put there and later overwr...
;; ;; aPLib compression library - the smaller the better :) ;; ;; fasm 64-bit safe assembler header access ;; ;; Copyright (c) 1998-2014 Joergen Ibsen ;; All Rights Reserved ;; ;; http://www.ibsensoftware.com/ ;; format MS64 COFF public aPsafe_get_orig_size ; ========================================...
;****************************************************************************** ;* x86-optimized input routines; does shuffling of packed ;* YUV formats into individual planes, and converts RGB ;* into YUV planes also. ;* Copyright (c) 2012 Ronald S. Bultje <rsbultje@gmail.com> ;* ;* This file is part of FFmpeg. ;* ;* ...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t wa_stack_capacity(wa_stack_t *s) ; ; Return capacity of the stack in words. ; ; =============================================================== SECTION code_clib S...
; A161983: Irregular triangle read by rows: the group of 2n + 1 integers starting at A014105(n). ; 0,3,4,5,10,11,12,13,14,21,22,23,24,25,26,27,36,37,38,39,40,41,42,43,44,55,56,57,58,59,60,61,62,63,64,65,78,79,80,81,82,83,84,85,86,87,88,89,90,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,136,137 mov $1,$0...
; ; Old School Computer Architecture - interfacing FLOS ; Stefano Bodrato, 2011 ; ; Get the first sector used by a file ; ; $Id: get_first_file_cluster.asm,v 1.5 2016-06-22 22:13:09 dom Exp $ ; INCLUDE "target/osca/def/flos.def" SECTION code_clib PUBLIC get_first_file_cluster PUBLIC _get_first_file_cl...
Name: zel_enmy3.asm Type: file Size: 334927 Last-Modified: '2016-05-13T04:20:48Z' SHA-1: 5E7487AD3699C48219E7749F66E05CEE04983454 Description: null
; A061777: Start with a single triangle; at n-th generation add a triangle at each vertex, allowing triangles to overlap; sequence gives total population of triangles at n-th generation. ; 1,4,10,22,40,70,112,178,268,406,592,874,1252,1822,2584,3730,5260,7558,10624,15226,21364,30574,42856,61282,85852,122710,171856,24557...
; A334703: Triangle read by rows: T(n,k) = binomial(n*k,3) (0 <= k <= n). ; 0,0,0,0,0,4,0,1,20,84,0,4,56,220,560,0,10,120,455,1140,2300,0,20,220,816,2024,4060,7140,0,35,364,1330,3276,6545,11480,18424,0,56,560,2024,4960,9880,17296,27720,41664,0,84,816,2925,7140,14190,24804,39711,59640,85320 cal $0,79904 ; Triangle read...
;; ;; Copyright (c) 2012-2021, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
; A132673: a(1)=1, a(n) = 9*a(n-1) if the minimal positive integer number not yet in the sequence is greater than a(n-1), else a(n) = a(n-1) - 1. ; Submitted by Simon Strandgaard ; 1,9,8,7,6,5,4,3,2,18,17,16,15,14,13,12,11,10,90,89,88,87,86,85,84,83,82,81,80,79,78,77,76,75,74,73,72,71,70,69 lpb $0 sub $0,$3 sub $0...
#include "blocks/c_code_generator.h" #include "builder/builder.h" #include "builder/builder_context.h" #include "builder/static_var.h" #include "builder/dyn_var.h" #include <iostream> #include <memory> using builder::dyn_var; using builder::static_var; using builder::as_member_of; const char foo_t_name[] = "FooT"; usi...