text
stringlengths
1
1.05M
.CHIP PMS171B //{{PADAUK_CODE_OPTION .Code_Option Security Disable .Code_Option Bootup_Time Fast .Code_Option LVR 3.0V .Code_Option Comparator_Edge All_Edge .Code_Option GPC_PWM Disable .Code_Option TM2_Out1 PB2 .Code_Option TMx_Bit 6BIT .Code_Option TMx_Source 16MHz .Code_Option Interrupt_Src1 ...
%include "defs.asm" ; ----------------------------- LIBAD64.ASM --------------------------- ; DLL entry function for LIBAD64.DLL default rel global DllEntry: function SECTION .text align=16 DllEntry: mov eax, 1 ret ;DllMain endp
.option nopic .text .globl main .type main, @function main: addi sp,sp,-16 sw ra,12(sp) lui a0,%hi(.LC0) call puts li a0,0 lw ra.12(sp) addi sp,sp,16 jr ra .size main, ,-main .section .rodata.str1.4,"aMS",@progbbits.1 .align 2 .LCO: .string "Hello World!"
; A151920: a(n) = (Sum_{i=1..n+1} 3^wt(i))/3, where wt() = A000120(). ; 1,2,5,6,9,12,21,22,25,28,37,40,49,58,85,86,89,92,101,104,113,122,149,152,161,170,197,206,233,260,341,342,345,348,357,360,369,378,405,408,417,426,453,462,489,516,597,600,609,618,645,654,681,708,789,798,825,852,933,960,1041,1122,1365,1366,1369,1372,1...
// // main.cpp // SongList // // Created by Wenzhe Lu on 2018/4/5. // Copyright © 2018年 Wenzhe Lu. All rights reserved. // // Song List: problem from tencent // Given x different class A songs with length in la, y different class B songs with length // in lb. Without consideration the order of different songs, how...
.text x .int 1,2,3,4,5,6,7,8,9,0Ah,0Bh,0ch,0dh,0Eh,0fh tab .word x ldi @tab,AR0 ldi 0,R0 ldi 6,BK ldi 14,RC Rptb et et addi *AR0++(2)%,R0 .end
Name: Net.asm Type: file Size: 1218 Last-Modified: '1992-02-13T07:47:46Z' SHA-1: 648CD56CCFAA9D6D098A239E189C84B887FA6F71 Description: null
; A158372: 576n - 1. ; 575,1151,1727,2303,2879,3455,4031,4607,5183,5759,6335,6911,7487,8063,8639,9215,9791,10367,10943,11519,12095,12671,13247,13823,14399,14975,15551,16127,16703,17279,17855,18431,19007,19583,20159,20735,21311,21887,22463,23039,23615,24191,24767,25343,25919,26495,27071,27647,28223,28799,29375,29951,305...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.6 #12419 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
; The syntax `<label>+<single_digit>[:]` is meant to be used as self-modify-code marker only, ; so the plus and single digit should cover cases (+1..+3). ; The syntax is intentionally limited to not clash with regular ; syntax (expressions "eating" `and/or/xor` instruction, etc.) x equ 1 org #8000 lA: ...
; A168456: a(n) = (10*n - 5*(-1)^n + 1)/2. ; 8,8,18,18,28,28,38,38,48,48,58,58,68,68,78,78,88,88,98,98,108,108,118,118,128,128,138,138,148,148,158,158,168,168,178,178,188,188,198,198,208,208,218,218,228,228,238,238,248,248,258,258,268,268,278,278,288,288,298,298,308,308,318,318,328,328,338,338,348,348,358,358,368,368,3...
// RST 0x78 0x20 0x79 0x49 0xa9 0x10 0x8d 0x06 0x49 0x58 // L_MAIN_LOOP 0xea 0x4c 0x2a 0x49 // L_IRQ ad 03 49 c9 01 f0 0b c9 06 f0 0d c9 08 f0 0f 4c 52 49 // L_IRQ_KEYDOWM 20 83 49 4c 52 49 // L_IRQ_CLOCK 20 d4 49 4c 52 49 // L_IRQ_TIMER ...
; A025164: a(n) = a(n-2) + (2n-1)a(n-1); a(0)=1, a(1)=1. ; Submitted by Jamie Morken(s1) ; 1,1,4,21,151,1380,15331,200683,3025576,51635475,984099601,20717727096,477491822809,11958013297321,323343850850476,9388929687961125,291380164177645351,9624934347550257708,337164082328436665131,12484695980499706867555,4872403073218...
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Green Enery Corp licenses this file // to you under the Apache License, Version 2.0 (the // "...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbp push %rdi push %rdx lea addresses_D_ht+0x17d37, %rbp nop nop nop nop nop xor $47743, %r11 mov (%rbp), %rdi inc %rdi lea addresses_D_ht+0x7f21, %r8 nop nop nop nop cmp %rdx, %rdx mov (%r8), %r9 xor $58049, %r9 pop %rdx pop %rdi pop %rbp p...
; $Id: CPUMRCA.asm $ ;; @file ; CPUM - Raw-mode Context Assembly Routines. ; ; ; Copyright (C) 2006-2015 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the term...
; A110831: a(n) = 3*n^2 + 27*n + 1. ; 31,67,109,157,211,271,337,409,487,571,661,757,859,967,1081,1201,1327,1459,1597,1741,1891,2047,2209,2377,2551,2731,2917,3109,3307,3511,3721,3937,4159,4387,4621,4861,5107,5359,5617,5881,6151,6427,6709,6997,7291,7591,7897,8209,8527,8851,9181,9517,9859,10207,10561,10921,11287,11659,120...
////////////////////////////////////////////////////////////////////////////// /// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand /// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI /// /// Distributed under the Boost Software License, Version 1.0 /// ...
;Gray to Binary mvi a,0dbH mov b,a ral xra b cma sta 4000H hlt
; Title: Shellcode printing "Egg Found!!" ; Author: Guillaume Kaddouch ; SLAE-681 global _start section .text _start: jmp short get_address shellcode: pop ecx xor eax, eax push eax ; prepare stack for string copy (NULL terminated) mov al, 0x4 ; write syscall code xor ebx, ebx mov bl, 0x1 ; 1st arg: st...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "base58.h" #include "wyvernrpc.h" #includ...
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0xb69b, %rcx nop inc %r12 mov (%rcx), %r11d add $51348, %rcx lea addresses_normal_ht+0x2c93, %rbp nop and $3078, %r11 mov (%rbp), %r13w nop nop dec %rcx lea addresses_WC_ht+0x...
_AnimateTileset:: ; Iterate over a given pointer array of ; animation functions (one per frame). ; Typically in wra1, vra0 ld a, [wTilesetAnim] ld e, a ld a, [wTilesetAnim + 1] ld d, a ldh a, [hTileAnimFrame] ld l, a inc a ldh [hTileAnimFrame], a ld h, 0 add hl, hl add hl, hl add hl, de ; 2-byte parame...
#ifdef __cplusplus #include <malcpp/malcpp-template.hpp> /* adding all template variations one by one, so at least the linker has it easy to discard unused versions when static linking */ template class malcpp::malcpp<true, false, true>; #endif /* __cplusplus */
; A029042: Expansion of 1/((1-x)(1-x^3)(1-x^5)(1-x^10)). ; 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,16,18,19,22,24,28,31,33,37,40,45,49,52,57,61,68,73,77,84,89,97,104,109,117,124,134,142,149,159,167,179,189,197,209,219,233,245,255 lpb $0 mov $2,$0 sub $0,3 seq $2,187243 ; Number of ways of making change for n cents usin...
; A187337: Sum{floor(kn/7), k=1,2,3,4,5,6}. ; 0,0,3,6,9,12,15,21,21,24,27,30,33,36,42,42,45,48,51,54,57,63,63,66,69,72,75,78,84,84,87,90,93,96,99,105,105,108,111,114,117,120,126,126,129,132,135,138,141,147,147,150,153,156,159,162,168,168,171,174,177,180,183,189,189,192,195,198,201,204,210,210,213,216,219,222,225,231,23...
SECTION code_fcntl PUBLIC console_01_output_fzx_iterm_msg_bs PUBLIC console_01_output_fzx_iterm_msg_bs_join PUBLIC console_01_output_fzx_iterm_msg_bs_join_pwd EXTERN asm_fzx_buffer_partition, asm_fzx_putc EXTERN l_offset_ix_de, console_01_output_fzx_proc_linefeed console_01_output_fzx_iterm_msg_bs: ; backspace:...
;************************************************ ; snesmod soundbank data * ; total size: 7328 bytes * ;************************************************ .global __SOUNDBANK__ .segment "SOUNDBANK" ; need dedicated bank(s) __SOUNDBANK__: .incbin "sfxbank.bank"
############################################################################### # Copyright 2018 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") containe...
Func_f1b27: CheckEvent EVENT_BEAT_ROUTE22_RIVAL_1ST_BATTLE jr z, .asm_5118b ld hl, Route22RivalAfterBattleText1 call PrintText jr .asm_51191 .asm_5118b ld hl, Route22RivalBeforeBattleText1 call PrintText .asm_51191 ret Route22RivalBeforeBattleText1: TX_FAR _Route22RivalBeforeBattleText1 db "@" Route22Rival...
; A047732: First differences are A005563. ; 1,4,12,27,51,86,134,197,277,376,496,639,807,1002,1226,1481,1769,2092,2452,2851,3291,3774,4302,4877,5501,6176,6904,7687,8527,9426,10386,11409,12497,13652,14876,16171,17539,18982,20502,22101,23781,25544,27392,29327,31351,33466,35674,37977,40377,42876,45476,48179,50987,53902,569...
data align 4 LABELV cinematics address $69 address $70 address $71 address $72 address $73 address $74 address $75 address $76 address $77 address $78 code proc UI_CinematicsMenu_BackEvent 0 0 ADDRFP4 4 INDIRI4 CNSTI4 3 EQI4 $80 ADDRGP4 $79 JUMPV LABELV $80 ADDRGP4 UI_PopMenu CALLV pop LABELV $79 endproc UI_CinematicsM...
; A066796: a(n) = Sum_{i=1..n} binomial(2*i,i). ; 2,8,28,98,350,1274,4706,17576,66196,250952,956384,3660540,14061140,54177740,209295260,810375650,3143981870,12219117170,47564380970,185410909790,723668784230,2827767747950,11061198475550,43308802158650,169719408596402,665637941544506,2612577367192618 mov $3,$0 mov $4,$0...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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...
/* * Copyright (c) 2012 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 contribut...
/** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %eb...
[bits 32] ; 32-bit protected mode VIDEO_MEMORY equ 0xb8000 WHITE_ON_BLACK equ 0x0f ; the color byte print32: pusha mov edx, VIDEO_MEMORY print32_loop: mov al, [ebx] mov ah, WHITE_ON_BLACK cmp al, 0 je print32_done mov [edx], ax add ebx, 1 add edx, 2 jmp print32_loop ...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
%ifdef CONFIG { "RegData": { "MM7": ["0x8000000000000000", "0x4000"] }, "Mode": "32BIT" } %endif lea edx, [data] fld tword [edx + 8 * 0] lea edx, [data2] fstp tword [edx + 8 * 0] fld tword [edx + 8 * 0] hlt align 8 data: dt 2.0 dq 0 data2: dt 0.0 dq 0
; A054563: a(n) = n*(n^2 - 1)*(n + 2)*(n^2 + 4*n + 6)/72. ; 0,0,6,45,190,595,1540,3486,7140,13530,24090,40755,66066,103285,156520,230860,332520,468996,649230,883785,1185030,1567335,2047276,2643850,3378700,4276350,5364450,6674031,8239770,10100265,12298320,14881240,17901136,21415240,25486230,30182565,35578830,41756091,48...
SECTION .text GLOBAL test test: pmullw xmm0, xmm0 pmullw xmm0, xmm1 pmullw xmm0, xmm2 pmullw xmm0, xmm3 pmullw xmm0, xmm4 pmullw xmm0, xmm5 pmullw xmm0, xmm6 pmullw xmm0, xmm7 pmullw xmm0, xmm8 pmullw xmm0, xmm9 pmullw xmm0, xmm10 pmullw xmm0, xmm11 pmullw xmm0, xmm12 pmullw xmm0, xmm13 pmullw xmm0, xmm14 pmullw xmm0, ...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>pselect6(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall pselect6. See 'man 2 pselect6' for more information. Arguments: vararg(int): vararg Returns: long </%docstri...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Trampoline_ASM_x86 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .386 .model flat, c .code public Trampoline_ASM_X86@0 public Trampoline_ASM_X86_DATA Trampoline_ASM_X86@0 PROC ; Handle: 1A2B3C05h ...
; A146529: A two level sequence: v(n)=2*(If[n == 0, 0, 2^(n - 1)] + 2); a(n)=If[n == 0, 6, (v[n] + v[n - 1] - 2)]. ; 6,8,12,18,30,54,102,198,390,774,1542,3078,6150,12294,24582,49158,98310,196614,393222,786438,1572870,3145734,6291462,12582918,25165830,50331654,100663302,201326598,402653190,805306374,1610612742 mov $1,2...
; A103516: Triangle read by rows: count in a vee. ; 1,2,2,3,0,3,4,0,0,4,5,0,0,0,5,6,0,0,0,0,6,7,0,0,0,0,0,7,8,0,0,0,0,0,0,8,9,0,0,0,0,0,0,0,9,10,0,0,0,0,0,0,0,0,10,11,0,0,0,0,0,0,0,0,0,11,12,0,0,0,0,0,0,0,0,0,0,12,13,0,0,0,0,0,0,0,0,0,0,0,13,14,0,0,0,0,0,0,0,0,0 add $0,2 mov $2,$0 lpb $2 add $4,$2 mov $2,$0 mov ...
;x64 notes: ;In regards to registers r8-r15: ;To access 32 bit, add suffix d ; 16 w ; 8 b ;i.e register r8 32x equivalent = r8d ; 16x r8w ; 8x r8b ;To access last 4 bytes of register like rsi, it is the last 2 ...
; A210343: a(n) = Fibonacci(n+1)^n. ; Submitted by Jamie Morken(s2) ; 1,1,4,27,625,32768,4826809,1801088541,1785793904896,4605366583984375,31181719929966183601,552061438912436417593344,25601832525455335435322705761,3107689015140868348741078056241817,987683253336131809511244100000000000000,821783259531709901328594105540...
object_const_def ; object_event constants const TINTOWER7F_POKE_BALL TinTower7F_MapScripts: db 0 ; scene scripts db 0 ; callbacks TinTower7FMaxRevive: itemball MAX_REVIVE TinTower7F_MapEvents: db 0, 0 ; filler db 5 ; warp events warp_event 3, 9, TIN_TOWER_6F, 1 warp_event 10, 15, TIN_TOWER_8F, 1 warp_e...
;-----------------------------------------------------------------------------; ; Author: agix (florian.gaultier[at]gmail[dot]com) ; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4 ; Size: 307 bytes ; Build: >build.py single_create_remote_process ;-----------------------------------------------------------...
; Test case: .megarom ascii8 .start loop .subpage 1 at #6000 .subpage 2 at #6000 loop: jP loop .select 1 at 06000h ld a,3 .select a at 07000h ld b,5 .select b at 08000h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef commn_utils_type_utils_hpp #define commn_utils_type_utils_hpp #include <type_traits> #include <valarray> namespace mavlink_utils { namespace type_utils { //from: https://raw.githubusercontent.com/louisdx/cxx-p...
; A213526: a(n) = 3*n AND n, where AND is the bitwise AND operator. ; 0,1,2,1,4,5,2,5,8,9,10,1,4,5,10,13,16,17,18,17,20,21,2,5,8,9,10,17,20,21,26,29,32,33,34,33,36,37,34,37,40,41,42,1,4,5,10,13,16,17,18,17,20,21,34,37,40,41,42,49,52,53,58,61,64,65,66,65,68,69,66,69,72,73,74,65,68,69,74,77,80,81,82,81,84,85,2,5,8,9,10,1...
; vim: ft=asm68k:ts=8:sw=8: usecode = -1 ;CHANGE! to the USE hexcode from P61con for a big ;CPU-time gain! (See module usecodes at end of source) ;Multiple songs, single playroutine? Just "OR" the ;usecodes together! ;...STOP! Have you changed it yet!? ;) ;You will LOSE RASTERTIME AND FEATURES if you don'...
/* * Copyright 2009-2017 Alibaba Cloud 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
; m/c entry point for print string function ; 01.2008 aralbrec, Sprite Pack v3.0 ; ts2068 hi-res version PUBLIC SP1PrintString EXTERN sp1_GetUpdateStruct_callee, l_jpix EXTERN ASMDISP_SP1_GETUPDATESTRUCT_CALLEE EXTERN SP1V_UPDATELISTT, SP1V_DISPWIDTH ; A sophisticated print string function ; ; The string to print is...
SECTION "0", ROM0[0] DS $8000
;****************************************************************************** ; Otto Virus ; ; Disassembled by Data Disruptor ; (c) 1992 RABID International Development ; (May.12.92) ; ; Original virus written by YAM (Youth Against McAfee) 1992 ; ; Notes: Otto Schtuck (Pardon the spelling?)...
; A099056: A bisection of A054519. ; 2,6,11,17,24,30,38,46,53,61,71,77,88,96,104,114,124,132,143,151,161,171,183,189,202,212,220,232,244,250,264,274,285,295,305,315,329,339,349,359,374,380,396,404,414,430,440,448,462,474,485,495,511,517,531 mov $3,2 mov $5,$0 mul $0,2 mov $2,$0 lpb $2 add $4,$2 trn $1,$4 lpb $4 ...
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="addr=0, length=4096, prot=7, flags=34, fd=-1, offset=0"/> <%docstring> Invokes the syscall mmap. See 'man 2 mmap' for more information. Arguments: addr(void): addr length(size_t): length prot(int): prot flags(int): flags fd(in...
INCBIN "gfx/footprints/bulbasaur.1bpp" INCBIN "gfx/footprints/ivysaur.1bpp" INCBIN "gfx/footprints/venusaur.1bpp" INCBIN "gfx/footprints/charmander.1bpp" INCBIN "gfx/footprints/charmeleon.1bpp" INCBIN "gfx/footprints/charizard.1bpp" INCBIN "gfx/footprints/squirtle.1bpp" INCBIN "gfx/footprints/wartortle.1bpp" INCBIN "gf...
; A017448: a(n) = (11*n + 4)^12. ; 16777216,129746337890625,95428956661682176,6582952005840035281,149587343098087735296,1779197418239532716881,13841287201000000000000,79766443076872509863361,367666387654882241806336,1425760886846178945447841,4817904819828488880132096,14551915228366851806640625,4003749527718683412634009...
// This file has been auto generated. #include <iostream> #include "SkData.h" #include "SkTypeface.h" #include "SkFontMgr.h" #include "common.h" SKIKO_EXPORT KInt org_jetbrains_skia_FontMgr__1nGetFamiliesCount (KNativePointer ptr) { SkFontMgr* instance = reinterpret_cast<SkFontMgr*>((ptr)); return instance...
// Copyright 2015 the V8 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. #include "src/signature.h" #include "src/handles.h" #include "src/v8.h" #include "src/zone-containers.h" #include "src/wasm/ast-decoder.h" #include "s...
// SPDX-License-Identifier: BSD-2-Clause #include <ctime> #include <mutex> #include <atomic> #include <memory> #include <iomanip> #include <iostream> #include <unordered_map> #include <boost/thread.hpp> #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> #include <Eigen/Dense> #include <pcl/io/pcd_io...
; A198699: 7*10^n-1 ; 6,69,699,6999,69999,699999,6999999,69999999,699999999,6999999999,69999999999,699999999999,6999999999999,69999999999999,699999999999999,6999999999999999,69999999999999999,699999999999999999,6999999999999999999,69999999999999999999,699999999999999999999,6999999999999999999999,69999999999999999999999...
// Copyright 2013 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 "media/cast/rtcp/rtcp_receiver.h" #include "base/logging.h" #include "media/cast/rtcp/rtcp_utility.h" #include "media/cast/transport/cast_transp...
#include "steam_defs.h" #include "steamworks_sdk_143/steam_api.h" #include "steamclient_private.h" #ifdef __cplusplus extern "C" { #endif #define SDKVER_143 #include "struct_converters.h" #include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_Requ...
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/inheritance-introduction/problem * Original video explanation: https://www.youtube.com/watch?v=TeKaDU3AU8o * Last verified on: April 17, 2021 */ /* IMPORTANT: * This is the full code for the solution. * Some headers...
XLIB plotpixel XREF COORDS ; ; $Id: plotpixl.asm,v 1.8 2007/10/04 10:28:47 stefano Exp $ ; ; ****************************************************************** ; ; Plot pixel at (x,y) coordinate. ; ; ZX 81 version. ; 64x48 dots. ; ; .plotpixel ld a,h cp 64 ret nc ld a,l ;cp maxy cp 48 ...
; size_t w_array_append(w_array_t *a, void *item) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_append EXTERN asm_w_array_append w_array_append: pop af pop bc pop hl push hl push bc push af jp asm_w_array_append ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_array_appen...
/* * AliAnalysisTaskThreeBodyProtonPrimary.cxx * * Created on: May 13, 2019 * Authors: Raffaele Del Grande, Marcel Lesch * Based on AliAnalysisTaskThreeBodyFemtoAOD.cxx from Laura Serksnyte */ #include "AliAnalysisTaskThreeBodyProtonPrimary.h" #include "AliFemtoDreamHigherPairMath.h" #include "AliNano...
/* -*- mode: C++; c-basic-offset: 4; -*- */ /* ex: set shiftwidth=4 tabstop=4 expandtab: */ /* * Copyright (c) 2015-2016, Rice University * All rights reserved. * * Author(s): Neil T. Dantam <ntd@rice.edu> * * Redistribution and use in source and binary forms, with or * without modification, are permitted pr...
; A341307: Expansion of (x^9+x^8+2*x^7+x^6+2*x^5+2*x^4+x^3+x^2+1)/(1-x^6)^2. ; 1,0,1,1,2,2,3,2,3,3,4,4,5,4,5,5,6,6,7,6,7,7,8,8,9,8,9,9,10,10,11,10,11,11,12,12,13,12,13,13,14,14,15,14,15,15,16,16,17,16,17,17,18,18,19,18,19,19,20,20,21,20,21,21,22,22,23,22,23,23,24,24,25,24,25,25,26,26 add $0,2 mov $1,$0 gcd $1,2 add $0...
#pragma once #include "MQTTSensorTypes.hpp" #include <util/stdextend.hpp> #include "rapidjson/document.h" // todo: remove once part below is fixed upstream #include <Arduino.h> #include <algorithm> #include <iomanip> #include <sstream> #include <tuple> extern "C" { #include "esp_log.h" } namespace mqtt { namespa...
.model small .data num1 db 0,0,0,0,0,0,0,0,0,9,'$' decimales_1 db 0,0,0,0,0,0,0,0,0,0,'$' num2 db 0,0,0,0,0,0,0,0,1,0,'$' decimales_2 db 0,0,0,0,0,0,0,0,0,0,'$' num_res db 0,0,0,0,0,0,0,0,0,0,'$' decimales_Res db 0,0,0,0,0,0,0,0,0,0,'$' ajuste_decimales_1 db 0,0,0,0,0,0,0...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld b, 97 call lwaitly_b ld a, 99 ldff(45), a ld a, 40 ldff(41), a ld a, 00 ld(8000), a ld a, 01 ld(c000), a ld a, c0 ldff(51), a xor a, a ...
SECTION code_driver PUBLIC _asci1_peekc EXTERN asm_asci1_peekc defc _asci1_peekc = asm_asci1_peekc EXTERN asm_asci1_need defc NEED = asm_asci1_need
############################################################################### # Copyright 2018 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") containe...
#include "stddefx.h" #ifndef INCLUDED_CALC_FIELDLEFT #include "calc_fieldleft.h" #define INCLUDED_CALC_FIELDLEFT #endif #ifndef INCLUDED_SSTREAM #include <sstream> #define INCLUDED_SSTREAM #endif #ifndef INCLUDED_CALC_FIELDEXPR #include "calc_fieldexpr.h" #define INCLUDED_CALC_FIELDEXPR #endif #ifndef INCLUDED_CALC...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x7b8e, %rsi nop inc %r12 mov $0x6162636465666768, %rbp movq %rbp, %xmm0 movups %xmm0, (%rsi) nop nop nop nop add $26303, %rdx lea addresses_WC_ht+0xf30e, %r14 add $43793, %rdi...
0: CP 110 100 1: CP 50 100 2: LT 50 101 3: BZJ 20 50 4: CP 110 101 5: BZJi 20 0 6: CP 51 110 7: LT 51 102 8: BZJ 21 51 9: CP 110 102 10: BZJi 21 0 20: 5 21: 10 100: 30 101: 31 102: 33
;=============================================================================== ; Copyright 2016-2021 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apa...
; A170150: Number of reduced words of length n in Coxeter group on 45 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I. ; 1,45,1980,87120,3833280,168664320,7421230080,326534123520,14367501434880,632170063134720,27815482777927680,1223881242228817920,53850774658067988480,2369434084954991493120,1042550997380196256...
############################################################################### # Copyright 2018 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") containe...
extern VmxVmExitHandler extern RestoreRegisters extern VmxBasicExitReasonVmcall extern MhvVmxEntryHandler _GuestEntryRip: ; In case of VM EXIT ; Set RIP to this addr save_proc_state mov rcx, rsp sub rsp, 0x20 call MhvVmxEntryHandler ; HLT Instructions/sec - Number of CPU halts per seconds on ...
; A024063: 6^n-n. ; 1,5,34,213,1292,7771,46650,279929,1679608,10077687,60466166,362797045,2176782324,13060694003,78364164082,470184984561,2821109907440,16926659444719,101559956668398,609359740010477,3656158440062956 mov $1,6 pow $1,$0 sub $1,$0
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, H. Strasdat, W. Burgard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of sourc...
; void wv_priority_queue_clear(wv_priority_queue_t *q) SECTION code_adt_wv_priority_queue PUBLIC wv_priority_queue_clear defc wv_priority_queue_clear = asm_wv_priority_queue_clear INCLUDE "adt/wv_priority_queue/z80/asm_wv_priority_queue_clear.asm"
; sample test file for lab 14 .ORIG x5000 .FILL x20 .FILL x40 .STRINGZ "Dumbledore." .END
SECTION code_clib SECTION code_l_sdcc PUBLIC ____sdcc_cpu_pop_ei_jp EXTERN asm0_cpu_pop_ei defc ____sdcc_cpu_pop_ei_jp = asm0_cpu_pop_ei
tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll WALL, WALL, WALL, WALL ; 01 tilecoll WALL, WALL, WALL, WALL ; 02 tilecoll WALL, WALL, DOOR, WALL ; 03 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 05 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 06 tilecoll HOP_DOWN, HOP_DOWN, WALL, WALL ;...
;############################## ; Memory Definition ;############################## ; Stack - Address Range (1FFFCh~10000h = 64 KB - 8B) ; Kernel in Memory - Address Range (50000h~5FFFFh = 64 KB) %include "pm.inc" %include "proc.inc" [section .text] ; External functions extern kernel_init extern kernel_main ...
; ICS 331 ; Tetris ; Alex Watanabe ; Using DLX architecture ; Contains anything to do with rotating so I don't have to ; scroll through many things while working on the program ; Function that rotates pieces ; Arguments Taken- ; R4 | Sublocation pointer to rotation (0xE) ; R5 | Address of the piece rot...
; A304379: a(n) = 256n^2 - 828n + 656 (n>=1). ; 84,24,476,1440,2916,4904,7404,10416,13940,17976,22524,27584,33156,39240,45836,52944,60564,68696,77340,86496,96164,106344,117036,128240,139956,152184,164924,178176,191940,206216,221004,236304,252116,268440,285276,302624,320484,338856,357740,377136,397044,417464,438396,4598...
; ; file: read.asm ; This subroutine reads an array of doubles from a file segment .data format db "%lf", 0 ; format for fscanf() segment .bss segment .text global read_doubles extern fscanf %define SIZEOF_DOUBLE 8 %define FP dword [ebp + 8] %define ARRAYP ...
; Autor: ; Brown Ramírez, Belinda ; López, José ; timna.brown@ucr.ac.cr ; jose.lopezpicado@ucr.ac.cr ; Jan, 2021 ;##-------------------------------- EXPLANATION ------------------------------------ ;This algorithm includes two tables: ;1. DATA -> where data is stored ;2. CUAD -> here we have just val...
; A040378: Continued fraction for sqrt(398). ; Submitted by Jamie Morken(s3) ; 19,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18,1,38,1,18 gcd $0,262156 mul $0,42 mod $0,13 mov $1,$0 div $1,5...
; 1 2 3 4 5 6 7 ;234567890123456789012345678901234567890123456789012345678901234567890 ;===================================================================== ; ; EXAMPLE 002: Convert a negative hexadecimal value ; EXAMPLE PURPOSE: Demonstrates how to use th...